فهرست منبع

fix specular mipmaps

Nicolas Cannasse 4 سال پیش
والد
کامیت
714232d857
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      hrt/prefab/l3d/Environment.hx

+ 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();
 			path.ext = "envs.dds";
 			env.specular = hxd.res.Loader.currentInstance.load(path.toString()).toImage().toTexture();
+			env.specular.mipMap = Linear;
 			return true;
 		} catch( e : hxd.res.NotFound ) {
 			return false;