Merge "DALi Version 2.2.3" into devel/master
[platform/core/uifw/dali-toolkit.git] / dali-scene3d / internal / graphics / shaders / skybox-shader.frag
index 2a6024d..7bf6e42 100644 (file)
@@ -1,9 +1,10 @@
 uniform samplerCube   uSkyBoxTexture;
+uniform lowp    vec4  uColor;
 uniform mediump float uIntensity;
 varying mediump vec3  vTexCoord;
 
 void main()
 {
   mediump vec4 texColor = textureCube(uSkyBoxTexture, vTexCoord) * uIntensity;
-  gl_FragColor = texColor;
+  gl_FragColor = texColor * uColor;
 }
\ No newline at end of file