Changes

424 bytes added ,  20:45, 15 September 2014
m
→‎SOBJ: multiplier/datatype details
Line 626: Line 626:  
| float
 
| float
 
|}
 
|}
 +
 +
Vertex components are stored as one of the above data types, and the vertex component declaration contains a multiplier that adapts the values to the float version which the game will use.
 +
For example, color RGBA values are stored as bytes, and the multiplier converts them from 0-255 to 0-1.0, and position components using short values are normalized via the multiplier to take advantage of the entire short value range.
    
== TXOB ==
 
== TXOB ==
35

edits