Nicolas Cannnasse 8 년 전
부모
커밋
8486bf7510
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      samples/Pbr.hx

+ 3 - 3
samples/Pbr.hx

@@ -474,7 +474,7 @@ class Pbr extends hxd.App {
 		fui.verticalSpacing = 5;
 		fui.isVertical = true;
 
-		envMap = new h3d.mat.Texture(512, 512, [Cubic]);
+		envMap = new h3d.mat.Texture(512, 512, [Cube]);
 		inline function set(face:Int, res:hxd.res.Image) {
 			#if flash
 			// all mipmap levels required
@@ -530,8 +530,8 @@ class Pbr extends hxd.App {
 
 		computeIrradLut();
 
-		irradDiffuse = new h3d.mat.Texture(size, size, [Cubic]);
-		irradSpecular = new h3d.mat.Texture(ssize, ssize, [Cubic, MipMapped]);
+		irradDiffuse = new h3d.mat.Texture(size, size, [Cube]);
+		irradSpecular = new h3d.mat.Texture(ssize, ssize, [Cube, MipMapped]);
 		irradSpecular.mipMap = Linear;
 		computeIrradiance();