- removed all legacy fog code.

This commit is contained in:
Christoph Oelckers 2019-10-19 15:52:46 +02:00
parent 2ef89abe08
commit cd7bbe35a8
16 changed files with 32 additions and 171 deletions

View file

@ -139,7 +139,6 @@ bool PolymostShader::Load(const char * name, const char * vert_prog, const char
Shade.Init(hShader, "u_shade");
NumShades.Init(hShader, "u_numShades");
VisFactor.Init(hShader, "u_visFactor");
FogEnabled.Init(hShader, "u_fogEnabled");
UseColorOnly.Init(hShader, "u_useColorOnly");
UsePalette.Init(hShader, "u_usePalette");
UseDetailMapping.Init(hShader, "u_useDetailMapping");
@ -149,7 +148,6 @@ bool PolymostShader::Load(const char * name, const char * vert_prog, const char
NPOTEmulationXOffset.Init(hShader, "u_npotEmulationXOffset");
Brightness.Init(hShader, "u_brightness");
ShadeInterpolate.Init(hShader, "u_shadeInterpolate");
Fog.Init(hShader, "u_fog");
FogColor.Init(hShader, "u_fogColor");
RotMatrix.Init(hShader, "u_rotMatrix");