Sign in to follow this  

Blending Problem

This topic is 4303 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 Guys, I'm currently rendering single byte lightmaps over my polygon with glBlendFunc(GL_ZERO, GL_SRC_COLOR). This is working fine apart from once case. When a polygon is not lit and has shadows blended over it, the polygon appears darker than other non lit polygons with no shadows. Can someone suggest why this is happening and how I can rectify it please? Kind Regards, Chris

Share this post


Link to post
Share on other sites
What are your texture parameters? Are you modulating? combiners? Shaders? Make sure your shadowmap you are using has a 1.0 or 255 value for the areas that are not shadowed...

Share this post


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