Przeglądaj źródła

Update lighting.glsl

Anis 10 lat temu
rodzic
commit
1c5ab1371e

+ 1 - 0
Templates/Empty/game/shaders/common/gl/lighting.glsl

@@ -36,6 +36,7 @@ uniform vec4 inLightColor[4];
 #endif
 
 uniform vec4 ambient;
+#define ambientCameraFactor 0.3
 uniform float specularPower;
 uniform vec4 specularColor;