SpencerL Posted September 12, 2006 Share Posted September 12, 2006 Hey, Im creating a simple displacement shader which displaces the geo based on the color values in a texture map. The displacement shader displaces fine but the issue that Im having is that even though the UVs are assigned properly, the displacement occurs on every poly instead of spreading across the enitire surface. Do I need to do something different to the UVs in order for it not to have a tiling effect? Ive attached the texture im using to displace the geo as well as an image of the geo after the displacement in order to show how the displacement should look and what its actually producing. Thanks Quote Link to comment Share on other sites More sharing options...
sibarrick Posted September 12, 2006 Share Posted September 12, 2006 I think we need to see the code for your shader, chances are you aren't importing the uv's correctly and it is just using the parametric coordinates of the polys. Quote Link to comment Share on other sites More sharing options...
stu Posted September 12, 2006 Share Posted September 12, 2006 Seeing as how I'm a VOPs monkey, this is how I'd fix it: shading_layer.hipnc Quote Link to comment Share on other sites More sharing options...
SpencerL Posted September 13, 2006 Author Share Posted September 13, 2006 That was it, I wasnt bringing in my uvs through the Shading Layer VOP. I was just using S and T on the Global Var VOP Thanks Stu Quote Link to comment Share on other sites More sharing options...
stu Posted September 13, 2006 Share Posted September 13, 2006 No problem, glad I could help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.