Selaa lähdekoodia

adjust light position to match sun

ncannasse 8 vuotta sitten
vanhempi
commit
893c597e15
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      samples/Pbr.hx

+ 1 - 1
samples/Pbr.hx

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