فهرست منبع

Fix github comment

Sebastien Vandenberghe 8 سال پیش
والد
کامیت
5eb11817b8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/babylon.engine.ts

+ 1 - 1
src/babylon.engine.ts

@@ -3138,7 +3138,7 @@
                     let smoothness = i / (mipSlices - 1);
                     let roughness = 1 - smoothness;
 
-                    let minLODIndex = 0 + offset; // roughness = 0
+                    let minLODIndex = offset; // roughness = 0
                     let maxLODIndex = MathTools.Log2(width) * scale + offset; // roughness = 1
 
                     let lodIndex = minLODIndex + (maxLODIndex - minLODIndex) * roughness;