mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
[GPU] Upload configuration for all texture combiners to the shader program
Upload the configuration register values for the remaining texture combiners to the shader program's uniforms. This is in preparation for emulating those texture combiners next.
This commit is contained in:
parent
e66370598a
commit
525890bff7
2 changed files with 52 additions and 35 deletions
|
@ -26,11 +26,11 @@ class Renderer {
|
|||
GLint texUnitConfigLoc = -1;
|
||||
|
||||
// TEV configuration uniform locations
|
||||
GLint textureEnv0SourceLoc = -1;
|
||||
GLint textureEnv0OperandLoc = -1;
|
||||
GLint textureEnv0CombinerLoc = -1;
|
||||
GLint textureEnv0ColorLoc = -1;
|
||||
GLint textureEnv0ScaleLoc = -1;
|
||||
GLint textureEnvSourceLoc = -1;
|
||||
GLint textureEnvOperandLoc = -1;
|
||||
GLint textureEnvCombinerLoc = -1;
|
||||
GLint textureEnvColorLoc = -1;
|
||||
GLint textureEnvScaleLoc = -1;
|
||||
|
||||
// Depth configuration uniform locations
|
||||
GLint depthOffsetLoc = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue