Bump map in direct3D
I have an x file with bump which I load using the loadmesh function.
Are there any more settings I need to do in order for the bumb map to be seen? set render and such? or other settings?
Depending on your target card, you may need to convert the bump map to a normal map. Then, use dot product formula to your advantage in lighting, and for bumped environment mapping, offset the envmap texture coordinates appropriately per texel with the normalmap.
If this is not clear, then i suggest you study some more theory behind bumpmapping.
Kind rgds,
-Nik
If this is not clear, then i suggest you study some more theory behind bumpmapping.
Kind rgds,
-Nik
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement