• Advertisement
Sign in to follow this  

how to bright some area of the scene

This topic is 3577 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi: the requirement of artist is some area is brighter than other area. the whole scene has a direct light to light world; the diffuse of sun light is white, so l don't know how to rectity the light. then, i change the color operation. this way can resolve some situation. but, if the texture is nearly white, the result is that the color is exploded.so, which way can reslove this question? add a another light? i just use the fixed pipeline. thanks

Share this post


Link to post
Share on other sites
Advertisement
Normal 8-bit (0-255) rendering has always had problems with saturation so adding more light or making an area brighter will often cause the image to be 'washed out' and very pale/bright.

One simple option is to reduce the ambient lighting (setting it to D3DCOLOR_XRGB(255,255,255) effectively disables fixed-function lighting) so that existing or additional lights have more influence.

Another more complex option is to use additive blending, either during initial rendering or as some sort of post-processing operator masked out by the stencil buffer.

hth
Jack

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement