PDA

View Full Version : Writing Bump Mapping


DSedov
09-19-2005, 07:06 PM
Im trying to add bump mapping to the shader Im writing, Any idea on how to do this. I assume I have to do something with state->normal, but cant really figure how to wite this

floze
09-19-2005, 08:34 PM
Maybe you'll find some example in the base pack from ftp://ftp.mentalimages.com/data/pub/shaders/
The basetexgen.c contains code of several bump shaders. Hope that helps..

CGTalk Moderation
09-19-2005, 08:34 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.