PDA

View Full Version : toon shader and multiple lights


authentic
10-16-2007, 09:56 AM
hello I've got a problem with the toon shader. I got a main light in the scene. If I add another light even if I put it a 0 intensity, black or disable specular and diffuse, it add some light to he scene. The only thing for it to disable is to hide it.
I need to keep the light on because my main goal is to add some shadow coming from another light. I have 2 option : add a light with an very small intensity (0.001) and very high shw (-50), or make 2 light one classic with shadow and exactly the same in negative without shadow. The problem is that if this method works with a classic shader, it always add light with a toon shader... SO that's all the problem.

CGTalk Moderation
10-16-2007, 09:56 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.