2
0
Nicolas Cannasse 4 жил өмнө
parent
commit
714232d857

+ 1 - 0
hrt/prefab/l3d/Environment.hx

@@ -61,6 +61,7 @@ class Environment extends Object3D {
 			env.diffuse = hxd.res.Loader.currentInstance.load(path.toString()).toImage().toTexture();
 			env.diffuse = hxd.res.Loader.currentInstance.load(path.toString()).toImage().toTexture();
 			path.ext = "envs.dds";
 			path.ext = "envs.dds";
 			env.specular = hxd.res.Loader.currentInstance.load(path.toString()).toImage().toTexture();
 			env.specular = hxd.res.Loader.currentInstance.load(path.toString()).toImage().toTexture();
+			env.specular.mipMap = Linear;
 			return true;
 			return true;
 		} catch( e : hxd.res.NotFound ) {
 		} catch( e : hxd.res.NotFound ) {
 			return false;
 			return false;