ugly-game 0.14.29 → 0.14.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/gpuCrowd.js +8 -0
- package/package.json +1 -1
package/dist/assets/gpuCrowd.js
CHANGED
|
@@ -1372,6 +1372,14 @@ export class GpuCrowdRenderer {
|
|
|
1372
1372
|
mipmapFilter: 'linear',
|
|
1373
1373
|
addressModeU: 'repeat',
|
|
1374
1374
|
addressModeV: 'repeat',
|
|
1375
|
+
// ⚠️ ANISOTROPIC, because a human atlas is not isotropic and the legs prove it. Measured on
|
|
1376
|
+
// all-mine-sky's UV chart, a texture-space SQUARE renders with median aspect 1.57 on the
|
|
1377
|
+
// chest, 2.46 on the shin and 5.11 on the thigh — the leg islands carry about three times
|
|
1378
|
+
// fewer texels per centimetre along the limb than around it. Trilinear picks its mip from the
|
|
1379
|
+
// WORST axis, so it blurs the well-sampled direction to hide the stretched one, and the result
|
|
1380
|
+
// reads as vertical streaking down the legs. Anisotropic sampling is exactly the case this
|
|
1381
|
+
// hardware feature exists for, and it costs nothing on surfaces that are already isotropic.
|
|
1382
|
+
maxAnisotropy: 16,
|
|
1375
1383
|
});
|
|
1376
1384
|
}
|
|
1377
1385
|
/** The rung geometry and pool sizes, once the assets are in. Null before `setAssets`. */
|