UV Animations: Difference between revisions

m
>Aruki
>Aruki
Line 172: Line 172:
texmtx[0][3] = texmtx[1][3] = texmtx[2][3] = 0;</pre>
texmtx[0][3] = texmtx[1][3] = texmtx[2][3] = 0;</pre>


The post-transform matrix is a constant value. [1][1] and [1][2] may need to be swapped around for correct playback.
The post-transform matrix is a constant value. The purpose of it is to adjust the normalized texture coordinates so that they range from 0 to 1.


<pre>0.5, 0.0, 0.0, 0.5,
<pre>0.5, 0.0, 0.0, 0.5,
Anonymous user