Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

More problems with Nvidia Cards.

Sign in to follow this  


I seem to be having some problems with additive blending and Nvidia cards.

It seems like, when the additive blended values of pixels gets too high, the pixels end up rendering in black instead of white. It creates some issues with one of the pixel shaders I wrote. I may be misinterpreting this, so any help / advise is appreciated.

Here's some examples of the problem I'm having with my pixel shaders:

Here's an example that does not involve my pixel shader:

I don't seem to be having this issue on ATI cards. Anyone have an idea as to what the problem is?
Sign in to follow this  


Recommended Comments

Looks like an overflow issue to me (i.e. you're wrapping past 255/1.0/whatever and dropping back to 0 instead of clamping). But then again, I know absolutely nothing about shaders, and additive blending always kind of messed with my head, so I may be totally off base.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 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!