Jump to content
  • Advertisement
Sign in to follow this  
devronious

Pixel Shader Color Value Range...

This topic is 4132 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

I am finding that any color register passed from my vertex shader to my pixel shader is reduced to a value between 1 and 0 with a precision granularity of 0 to 256 values only (ie: a value of 1 / 512 or 1 / 1024 and so on is rounded to a value of 1 / 256). Is there a way to increase the precision of the color registers as they are passed? TIA, Devin [edit] the reduction in significance of the color value seems to go away when I switch from ps2.0 to ps3.0. I would like to use 2.0 though. Is there any work around?

Share this post


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

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!