OpenGL3: Drop always-zero vSpecularColor from the shaders

This commit is contained in:
numzero
2023-04-02 21:24:36 +03:00
committed by sfan5
parent 6a152e8629
commit 462657960d
6 changed files with 0 additions and 13 deletions

View File

@ -18,7 +18,6 @@ uniform float uFogDensity;
varying vec2 vTextureCoord0;
varying vec4 vVertexColor;
varying vec4 vSpecularColor;
varying float vFogCoord;
float computeFog()
@ -55,8 +54,6 @@ void main()
if (Color.a < uAlphaRef)
discard;
Color += vSpecularColor;
if (bool(uFogEnable))
{
float FogFactor = computeFog();