Jump to content
  • Advertisement
Sign in to follow this  
s3mt3x

Blending Problem

This topic is 4637 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
Advertisement
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  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!