PDA

View Full Version : Light angle - how to create/use..


Molte
04-19-2004, 06:26 PM
Hi :)
How do I create a light angle node, just like the one on the color
entry in the ramp shader. The ramp shader seems to only have
the light angle option on the color entry. And I need it for both
transparecy and color?

SurfaceLuminance dont work, couse it takes in account the value
of the light.

Duncan
04-21-2004, 05:21 PM
You can use a ramp shader as a lightAngle texture of sorts. Map the transparency of your ramp shader with a second ramp shader(select the indice and rightmouse on selected value). On the new shader make the translucence 1 and the diffuse 0. With the color set to lightAngle the color ramp shows the exact color for the light angle returned by the shader( however this is still modulated by the light color and intensity ).

Duncan

CGTalk Moderation
01-18-2006, 01:00 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.