Texture Coordinate Move

Started by
0 comments, last by MasterWorks 18 years, 8 months ago
hi i got large mesh landscape and objects with texture coordinates on it for an little funny effect i want to move this u/v coordinates without making changes in the vertex of the object if possible..and without! using any vertex/pixel shader like a scrolling texture.. the whole texture u/v of that object should change the same time is there a simple texturestage thing that can help there? much thx for any help ;)
Advertisement
You can set a texture matrix to do exactly what you want. The texture matrix operates on the UV space, you can do things like scrolling/scaling/rotation on a per frame basis without modifying vertex data.

Visual Basic:

mD3DDevice.SetTransform D3DTS_TEXTURE0, matTexture <-texture matrix

This topic is closed to new replies.

Advertisement