2
0
Эх сурвалжийг харах

adjust light position to match sun

ncannasse 8 жил өмнө
parent
commit
893c597e15
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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);
 	}