Panning direction and tiling
Posted: Fri Mar 22, 2019 6:28 pm
Hi there,
I'm trying to make a shader that will pan a texture over a mesh that's shaped a bit like a frisbee. The problem I have is that the texture isn't tiling, and it's moving outwards from the centre of the mesh, rather than moving across. I have the texture wrap mode set to repeat, and if I apply the shader to a plane, it works fine. So I deduce this isn't working because of the curve of the mesh. Can anyone explain how I need to change the shader to make it work on a curved shape?
I tried to add an image but it says the board quota has been reached.
Thanks for your help
I'm trying to make a shader that will pan a texture over a mesh that's shaped a bit like a frisbee. The problem I have is that the texture isn't tiling, and it's moving outwards from the centre of the mesh, rather than moving across. I have the texture wrap mode set to repeat, and if I apply the shader to a plane, it works fine. So I deduce this isn't working because of the curve of the mesh. Can anyone explain how I need to change the shader to make it work on a curved shape?
I tried to add an image but it says the board quota has been reached.
Thanks for your help