Need help with a bumpmapping shader
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]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement