Jump to content
  • Advertisement
Sign in to follow this  
Magnus Wootton

parallax occlusion mapping

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

ive currently got a book shaderx3, i was wondering if you had this book also. i tried to implement parallax occlusion mapping using reverse height map tracing but it only half works, ive done something wrong. ive got basic parallax mapping to work... but this new method looks so much better ive got to do it. if you know how this technique works, and you are willing to aid me give me a post and ill put my code on for you to look through. one part that confused me is they use the position of the vertex as the eye vector and that doesnt seem right at all, so i use the eye vector. also im only on shader 2.0 so i had to reduce the number of height map samples from 8 to 5... other than that i copied the code exactly. any hints would be appreciated. what ive got is that it looks like its working but seems to displace the texture too far closer to perpendicular... and it doesnt seem to go in the right direction at times. help please...

Share this post


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

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