From b57991f3ff986e60b15dc6b832e8868a11b138a3 Mon Sep 17 00:00:00 2001 From: LockedLunatic Date: Mon, 4 May 2015 21:51:42 +0200 Subject: [PATCH] light changed --- shader/lightingTexture_FS.hlsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shader/lightingTexture_FS.hlsl b/shader/lightingTexture_FS.hlsl index bf33ed5..55695f7 100644 --- a/shader/lightingTexture_FS.hlsl +++ b/shader/lightingTexture_FS.hlsl @@ -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); -- 2.47.3