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

Started by
-1 comments, last by Dragon_Strike 16 years, 11 months ago
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]

This topic is closed to new replies.

Advertisement