Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Offset bumpmapping questions

  1. #1
    Intern Contributor
    Join Date
    Jun 2002
    Location
    Sweden
    Posts
    77

    Offset bumpmapping questions

    Hi, I have some questions about offset bumpmapping.

    What I have understod so far is that you need a heightmap in this algorithm, but what if you generate a normalmap from a hi-res model? Then you just got a normalmap and no heightmap?

    To see the effect of this technique I should use the offset texcoord to lookup the diffuse texture. But I don't have a diffuse texture, I just use the normalmap alone. Can this technique improve my work anyway?

    Regards, Ninja

  2. #2
    Intern Contributor spasi's Avatar
    Join Date
    Feb 2004
    Location
    Greece
    Posts
    67

    Re: Offset bumpmapping questions

    Yep, you need a height map for it to work. You calculate the offset and then sample whatever textures you've got with the new tex coords (so it's useful even if you only have a normal map).
    spasi
    zDimensions

  3. #3
    Junior Member Regular Contributor
    Join Date
    Dec 2002
    Location
    Silicon Valley
    Posts
    217

    Re: Offset bumpmapping questions

    I have never tried this with just a normal map, but I don't think you'll get as much benefit as you would if you use a diffuse texture. After all, you don't directly see a normal map; you only see its effect in the lighting. But you do directly see the diffuse texture.

  4. #4
    Advanced Member Frequent Contributor
    Join Date
    Dec 2002
    Location
    Espoo, Finland
    Posts
    599

    Re: Offset bumpmapping questions

    But don't worry, you can use ORB to generate the height maps too.

    http://www.soclab.bth.se/practices/orb.html

    -Ilkka

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •