Jump to content
  • Advertisement
Sign in to follow this  
MARS_999

Relief Mapping vs. Parallax Mapping question

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

I know with parallax mapping you modify the texture coordinates. Does RM do the same thing actually modify the texture coordinates? Thanks

Share this post


Link to post
Share on other sites
Advertisement
the coolest RM site

RM does modify the texture coordinate. It performs a search along the heightmap (actually a depthmap) to find the 1st place where the camera (or light) ray hits the surface of the depthmap. Knowing that point you modify your texture coordinate, and you can write the modified z-buffer value too so you have actual deformed surfaces (for interpenetration, shadows, etc.)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!