Lost Adventurer, Aleks Kirilenko (3D)
LC #42 Pipers Alley

View Full Version : Light-Intensity-Shader

02-13-2005, 05:47 PM

I am just at building a shading-network that outputs the light intensity.
I use the surface luminance utility, a ramp and a normal surface shader. As the intensity values can get greater than 1 i want to remap the values the surface-luminance gives me to [0;1]. the only problem is, i donīt know how i sould get the highest value the surface-luminance ever gives out, as i need this as my upper boundery...

srf-luminance gives me values from [0, ??] this gets into set-range to be remapped to [0;1] this goes into ramp as uValue...

any ideas?


02-20-2005, 11:48 AM
you can use the clamp node for that..


CGTalk Moderation
02-20-2006, 12:00 PM
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.