]> git.leopard-lacewing.eu Git - cgue_weave.git/commitdiff
light changed
authorLockedLunatic <locked.lunatic@aon.at>
Mon, 4 May 2015 19:51:42 +0000 (21:51 +0200)
committerLockedLunatic <locked.lunatic@aon.at>
Mon, 4 May 2015 19:51:42 +0000 (21:51 +0200)
shader/lightingTexture_FS.hlsl

index bf33ed51d9be0285b0e978e965523b48135464ea..55695f7376e94c82dc8eb426b3caeefa0ea446ec 100644 (file)
@@ -17,13 +17,13 @@ void main()
        vec4 uvColor = texture(uColorTexture, fUVs);
 
 
-       vec3 AmbientLightColor = vec3(0.1f, 0.1f, 0.1f);
+       vec3 AmbientLightColor = vec3(0.2f, 0.2f, 0.2f);
 
        vec3 PointLightDirection1 = normalize(worldLightPoint1);
        vec3 PointLightColor1 = vec3(30.0f, 30.0f, 30.0f);
 
        vec3 DirectionalLightDirection1 = normalize(vec3(-2.0f, -2.0f, -2.0f));
-       vec3 DirectionalLightColor1 = vec3(1.0f, 1.0f, 1.0f);
+       vec3 DirectionalLightColor1 = vec3(0.6f, 0.6f, 0.6f);
 
 
        float cosThetaPoint1 = clamp(dot(normal, PointLightDirection1), 0, 1);