Sign in to follow this  
Joshua Klint

Need help with a bumpmapping shader

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

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

Sign in to follow this