Sign in to follow this  

parallax mapping 3ds models (*solved.. thx FilouGK )

This topic is 3864 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 encountered some problems with parallaxmapping loaded 3ds models... first i thought it was the TBN matrix or view vector that was causing the problems.. but it seems that its due to the texture coordinates that the models has that parallax mapping doesnt work properly... how would one fix this? usually one would do something like this... V.z = V.z/ParallaxScale; V = normalize(V); TexCoord = TexCoord+V.xy*offset; where offset is the raytraced intersection... however as far as ive understood this requires that the texture coordinates are oriented over a quad something like this... (0,1) (1,1) (0,0) (0,1) but it seems this isnt always the case with the loaded texcoords... EDIT:: solved... seems like the real v coordinate = 1.0 - loaded v coordinate [Edited by - Dragon_Strike on May 18, 2007 4:23:29 PM]

Share this post


Link to post
Share on other sites

This topic is 3864 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this