Jump to content
  • Advertisement
Sign in to follow this  

scaling alpha, color array, fixed function...

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

Is there a way to scale the alpha component of a color array when rendering, only using the fixed function pipeline. I know you can scale the RGB component up by 2 or 4 times but i dont think this affects the alpha. This would be easily done with vertex programs / glsl etc but i need to create a fallback for cards that dont support it. What i'm looking for is blending in a detail layer to a surface as the viewer gets closer to it, the detail and base layer uses the same geometry data (vertex, color, texture arrays). This is why i want to modify the alpha component of the color stream (scale it), doing this on the cpu per frame(s) will be too slow. So is there anyway i can do this, different method then what i'm planning to use, or should i just thrash the low end and use vp/fp/glsl programs to do it. btw I dont have register combiner support either :( Thanks in advance

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.

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!