how transform or rotate uv in karma?
2841 7 0- Piledriver
- Member
- 99 posts
- Joined: Nov. 2018
- Offline
- Piledriver
- Member
- 99 posts
- Joined: Nov. 2018
- Offline
- tamte
- Member
- 8744 posts
- Joined: July 2007
- Offline
you said you are using uv transform, so I assume VEX based shader
1. if you bind your uv attribute, then pass through UV Transform and then to uv input of your shader it should not change anything by default
if however you didn't pass in the bound uv you may see tiled image per polygon since fallback uvs for polys are intrinsic poly st coordinates
2. if you rotate, the default pivot is 0,0 so it will not rotate around the center but around the corner, you may need to change pivot to 0.5, 0.5 if you expect it to rotate around center
3. the default Wrapping mode for texture VOP is Repeat
so if your UV transform results in the uvs covering more than 0-1 uv grid, then the image will repeat, creating tiling
you can set the Wrap mode to Decal or Streak for different behavior
1. if you bind your uv attribute, then pass through UV Transform and then to uv input of your shader it should not change anything by default
if however you didn't pass in the bound uv you may see tiled image per polygon since fallback uvs for polys are intrinsic poly st coordinates
2. if you rotate, the default pivot is 0,0 so it will not rotate around the center but around the corner, you may need to change pivot to 0.5, 0.5 if you expect it to rotate around center
3. the default Wrapping mode for texture VOP is Repeat
so if your UV transform results in the uvs covering more than 0-1 uv grid, then the image will repeat, creating tiling
you can set the Wrap mode to Decal or Streak for different behavior
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- Piledriver
- Member
- 99 posts
- Joined: Nov. 2018
- Offline
- Piledriver
- Member
- 99 posts
- Joined: Nov. 2018
- Offline
- tamte
- Member
- 8744 posts
- Joined: July 2007
- Offline
- Piledriver
- Member
- 99 posts
- Joined: Nov. 2018
- Offline
- Piledriver
- Member
- 99 posts
- Joined: Nov. 2018
- Offline
-
- Quick Links