GPU/Commands: Difference between revisions

No edit summary
Line 500: Line 500:
|-
|-
| 3
| 3
| float Alpha?
| float Alpha
|-
|-
| 4
| 4
Line 527: Line 527:
| 0x04
| 0x04
| 4
| 4
| This specifies a 4x4 matrix, used for glLoadMatrix() for the model-view matrix. This is usually an identity matrix, however the value 1 float in the first column is located at row 3 instead of row 0, etc.
| This specifies a 4x4 matrix, used for glLoadMatrix() for the model-view matrix. This is usually an identity matrix.
|-
|-
| 0x08
| 0x08
Line 535: Line 535:
| 0x0A
| 0x0A
| 4
| 4
| Specifies a 4x4 texture matrix?
| Specifies a 4x4 texture matrix.
|-
|-
| 0x0B
| 0x0B
Line 581: Line 581:
| ?
| ?
|}
|}
For matrices, the rows are flipped: the GPU handles the 4th row as the 1st row, 3rd row as the 2nd row, etc.