Explorar o código

adjust light position to match sun

ncannasse %!s(int64=8) %!d(string=hai) anos
pai
achega
893c597e15
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
 	}