SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.


SM Forums / Lounges / Maya Basics & Newbie Lounge / File to receive light onto file/ramp [layer shader]

Maya Basics & Newbie Lounge Please post in this section ONLY if your question doesn't fit in anywhere else on the forum, or if you're not sure which section it's relevant to. We also have Free streaming trial available.

Join the conversation. Reply to post
 
Thread Tools
10-04-2016, 08:21 PM   #1
marquism
Registered User
 
Join Date: Jan 2015
Posts: 2
File to receive light onto file/ramp [layer shader]
Ok, so I have this situation where the file doesn't want to render in Mental Ray as seen in Viewport under "Use All lights" setting.

The file you see in these images are in the ideal view in the viewport [1st image] and the view in mental ray [second image].

It's made up of a layered shader. The first of the two mixed shaders is a file and the second is a ramp shader. If I make the ramp shader above the file layer it turns black, but with the file above it: Together they produce a great appearance of a toon character with no shadows on it but can still receive light on it. An interesting feat that took me 3 years to figure out lol.

However, what stumped me was Mental Ray. It ended up showing what it looked like in basic viewport view and not the typical "Use All lights" view. The file in the layered shader isn't a solid shader, where it's circled in all lights and the ramp shader [without this file layer] alon can still receive this lighting in the render. So I'm at a lost on why it cannot use both or just the file in the layer shader by itself in the first place to simply receive light from a spot light [in this case, I colored it purple so it's easy to see with her skintone]

I'm hoping this will be a solution I can fix in the Mental Ray settings [or possibly any other way] since this lighting technique allows a toon image to have both a sharp and smooth shadowing effect like any other shader [without the need to have 'shade' on them of course]. However I'm stuck at seeing this only in my viewport. This solution, if discovered, can be perfect for flat-shaded 3D environments with lights littered in it like seen in animes or traditional animation.
Attached Thumbnails
Click image for larger version

Name:	face correct colos.png
Views:	155
Size:	534.3 KB
ID:	57176   Click image for larger version

Name:	face.png
Views:	143
Size:	581.9 KB
ID:	57177  
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
// Error: line 0: Error reading file. PiroEfekta Programming 13 03-08-2016 05:52 PM
Error Reading File... HELP ME PLEASE roryfollansbee Challenge Forum 1 16-04-2016 09:00 AM
Cant open file Jimmer Maya Basics & Newbie Lounge 0 18-09-2014 03:58 AM
trouble opening maya scene jooleyinboots Maya Technical Issues 2 03-02-2014 09:11 PM
How many forum members does it take to change a light bulb? Emo Maya Basics & Newbie Lounge 9 30-12-2003 11:52 PM