Selaa lähdekoodia

Update lighting.glsl

Anis 10 vuotta sitten
vanhempi
commit
1c5ab1371e
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      Templates/Empty/game/shaders/common/gl/lighting.glsl

+ 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;