Hi,
I am just trying to implement some sliding textures for things like waterfalls
and what have you. I figure that the best way to do this is to modify the
texture matrix. So, if I want to slide a texture in the U direction by 0.1
units, I would use a texture matrix that looks like this:
Hi Frank,
I am just trying to implement some sliding textures for things like waterfalls
and what have you. I figure that the best way to do this is to modify the
texture matrix.
Yes, you've got the theory right, let's see about the practice:
// ...
stateSet-setTextureAttribute(0,
Skylark wrote:
Hope this helps
It sure did! Thanks!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=26594#26594
___
osg-users mailing list
osg-users@lists.openscenegraph.org
3 matches
Mail list logo