Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


BumpMapping types

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

Note that this is a VERY BRIEF overview of the different techniques and does not include all of them. Note that DOT3 is the most used for diffuse/specular bumpmapping on modern hardware.

EMBOSS: essentially sliding two textures (light and dark) around based on light direction. This doesn't work very well and should be avoided on modern (GF1+) cards.

DOT3: Store surfaces normals in a texture map and do dot3 operation on per-pixel light direction and per-pixel normal.
LocalSpace: Bumpmap normals are defined in object local space, fast but limited (no tiling, unique bumpmap per-model).
TangentSpace: Generate a tangent space per-vertex, think of the plane defined by the normal of each vertex, and you define the axis on the plane (TANGENT and BINORMAL) so that you can transform the light vector into tangent space, allowing the bumpmap normals to be relative to this plane, this means that you can tile the bumpmap or use it on different models.

EMBM: Offset bumpmapping. You store du, dv signed offsets in a texture, do an environment map lookup then offset by the per-pixel du, dv. Used for things like bumped spheremap or planar reflections.

Reflective Bumpmapping: Similar to the above, but the bumpmap normal (and per-pixel tangent space) defines a lookup into a cubemap texture, so you can do true bumpmapped reflections.

[edited by - blueknight on October 12, 2003 4:11:21 AM]

Share this post

Link to post
Share on other sites

  • 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!