소스 검색

adjust light position to match sun

ncannasse 8 년 전
부모
커밋
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);
 	}