Advertisement

Simple Texture Scrolling on a Spherical Mapped Mesh?

Started by April 07, 2018 07:45 AM
0 comments, last by lucky6969b 6 years, 9 months ago

float currU = 0.01f * localTime;
newhorizonTex.y = tex0.y + currU;
newhorizonTex.x = tex0.x - currU;



The animation initially works for the first few steps, then the texture gradually gets distorted.. and sucked into the pinch of the mesh..
thanks
Jack

This topic is closed to new replies.

Advertisement