Celarien
09-29-2006, 08:01 PM
Suggestion needed please...
I want to make lights based on the intensity of a set of pixels in a bitmap... What do you think is the best? I thought of getting an average of the RGB values of all selected pixels and applying the intensity based on 0 (no lighting) if black to a max value, say 5, if white...
(I'm talking about light intensity, not color)
I want to make lights based on the intensity of a set of pixels in a bitmap... What do you think is the best? I thought of getting an average of the RGB values of all selected pixels and applying the intensity based on 0 (no lighting) if black to a max value, say 5, if white...
(I'm talking about light intensity, not color)
