GPU/Commands: Difference between revisions
No edit summary |
|||
Line 912: | Line 912: | ||
! Value | ! Value | ||
! GL type | ! GL type | ||
! Comment | |||
|- | |- | ||
| 0x0 | | 0x0 | ||
| GL_PRIMARY_COLOR | | GL_PRIMARY_COLOR | ||
|The color that comes from the upper shader | |||
|- | |- | ||
| 0x1 | | 0x1 | ||
| | | GL_PRIMARY_FRAGMENT_COLOR | ||
|The color that comes from lightning | |||
|- | |- | ||
| 0x2 | | 0x2 | ||
| ? | | ? | ||
| | |||
|- | |- | ||
| 0x3 | | 0x3 | ||
| GL_TEXTURE0 | | GL_TEXTURE0 | ||
| | |||
|- | |- | ||
| 0x4 | | 0x4 | ||
| GL_TEXTURE1 | | GL_TEXTURE1 | ||
| | |||
|- | |- | ||
| 0x5 | | 0x5 | ||
| GL_TEXTURE2 | | GL_TEXTURE2 | ||
| | |||
|- | |- | ||
| 0x6 | | 0x6 | ||
| GL_TEXTURE3 | | GL_TEXTURE3 | ||
| | |||
|- | |- | ||
| 0xC-0x7 | | 0xC-0x7 | ||
| GL_PRIMARY_COLOR | |(GL_PRIMARY_COLOR)No? | ||
| Please detail. Gives 0 on TexEnv0 | |||
|- | |- | ||
| 0xD | | 0xD | ||
| ? | | ? | ||
| | |||
|- | |- | ||
| 0xE | | 0xE | ||
| GL_CONSTANT | | GL_CONSTANT | ||
| | |||
|- | |- | ||
| 0xF | | 0xF | ||
| GL_PREVIOUS | | GL_PREVIOUS | ||
| Color that comes from the previous texture stage | |||
|} | |} | ||