Browse Source

adjust light position to match sun

ncannasse 8 năm trước cách đây
mục cha
commit
893c597e15
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      samples/Pbr.hx

+ 1 - 1
samples/Pbr.hx

@@ -168,7 +168,7 @@ class PbrShader extends hxsl.Shader {
 		directLighting = true;
 		indirectLighting = true;
 		specularLighting = true;
-		lightPos.set(10, 30, 40);
+		lightPos.set(30, 10, 40);
 		lightColor.set(0.1, 0.1, 0.1);
 	}