diff --git a/cocos/renderer/ccShader_3D_Skybox.frag b/cocos/renderer/ccShader_3D_Skybox.frag index 1fe25805c5..ffeaa24fa0 100644 --- a/cocos/renderer/ccShader_3D_Skybox.frag +++ b/cocos/renderer/ccShader_3D_Skybox.frag @@ -5,9 +5,10 @@ varying mediump vec3 v_reflect; varying vec3 v_reflect; \n#endif\n uniform samplerCube u_Env; +uniform vec4 u_color; void main(void) { - gl_FragColor = textureCube(u_Env, v_reflect); + gl_FragColor = textureCube(u_Env, v_reflect) * u_color; } -); \ No newline at end of file +);