Jump to content
  • Advertisement
Sign in to follow this  
Joshua Klint

Need help with a bumpmapping shader

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

Going by the DHPOWare bumpmapping example, I was able to create an almost-working bumpmap shader: There is a single directional light in the scene, but the light vector seems to move with the camera rotation. I have uploaded the demo here. The lighting itself works fine. The light equation I am using is working correctly. However, the bumpmapping effect shifts with the camera rotation. I don't think the dhpoware example was written to handle camera orientation. If anyone could take a look at the shader, I would appreciate it. I'm going to need to get a few miscellaneous shader features added, and I would be interested in paying someone for some more help. Please email support at leadwerks dot com. Thank you. [Edited by - Joshua Klint on May 24, 2007 6:29:47 PM]

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.

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!