UV Animations: Difference between revisions

no edit summary
>Aruki
mNo edit summary
>Aruki
No edit summary
Line 264: Line 264:
  0.0f, 0.0f, halfA,  z,
  0.0f, 0.0f, halfA,  z,
  0.0f, 0.0f,  0.0f, 1.0f</pre>
  0.0f, 0.0f,  0.0f, 1.0f</pre>
==== Mode 10: Another reflection mode ====
This one needs more research done, but the only thing the game does with this mode is load this post-transform matrix:
<pre>0.5, 0.0, 0.0, 0.5,
0.0, 0.0, 0.5, 0.5,
0.0, 0.0, 0.0, 1.0</pre>
The function of this matrix is to transform normalized texture coords so that they range from 0 to 1, instead of from -1 to 1. This mode seems to work well with mode 0's settings, though, so it's possible that the game is creating a texture matrix somewhere else. This needs some looking into.


[[Category:File Formats]]
[[Category:File Formats]]
Anonymous user