فهرست منبع

Update lighting.glsl

Anis 10 سال پیش
والد
کامیت
1c5ab1371e
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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;