GLint FogColorLocation;
GLint FogMinMaxLocation;
+ float PrimColors[4];
+ float EnvColors[4];
+ float PrimLODFrac;
+ float EnvLODFrac;
+ float AlphaRef;
+ float FogColors[4];
+ float FogMin;
+ float FogMax;
} OGLShaderCombinerSaveType;
{
public:
bool Initialize(void);
- float m_AlphaRef;
- void UpdateFog(bool bEnable);
+ void SetFogState(bool bEnable)
+ {
+ bFogState = bEnable;
+ }
+ void SetAlphaTestState(bool bEnable)
+ {
+ bAlphaTestState = bEnable;
+ }
protected:
friend class OGLDeviceBuilder;
int FindCompiledMux();
virtual void GenerateCombinerSetting(int index);
virtual void GenerateCombinerSettingConstants(int index);
+ float m_AlphaRef;
+ bool bAlphaTestState;
+ bool bAlphaTestPreviousState;
+ bool bFogState;
+ bool bFogPreviousState;
+
+ void UseProgram(GLuint program);
+ GLuint currentProgram;
#ifdef DEBUGGER
void DisplaySimpleMuxString(void);