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

More problems with Nvidia Cards.

Sign in to follow this  
Battagline

187 views

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  


4 Comments


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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!