Jump to content
  • Advertisement
Sign in to follow this  
XiotexStudios

DP3 bump mapping with alpha

This topic is 4553 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, Just for fun I was delving back into Fixed Function Pipeline and taking a look at DP3 bump mapping (never tried it before). I was wondering if it were possible to include alpha into the equation so that you get a partially transparent texture lit using DP3 bump mapping? My first attempts ended up with the light vector turning the texture black and therefore transparent. Any ideas of the renderstates I need to set up to simply light a texture using DP3 AND retain transparency without the transparency being affected by the DP3 operation? Does that make sense?

Share this post


Link to post
Share on other sites
Advertisement
You have me interested now - I wouldn't mind seeing a screenshot if you could take one (yes, I know the DP3 won't be as cool looking in a screenshot, but I am interested in seeing what it does look like).

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!