minerender 2.1.0-alpha.46 → 2.1.0-alpha.47
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/browser/index.js +9 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +9 -0
- package/dist/browser/index.mjs.map +1 -1
- package/dist/bundle.js +9 -0
- package/dist/bundle.js.map +1 -1
- package/dist/node/index.js +9 -0
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +9 -0
- package/dist/node/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -843,7 +843,12 @@ var init_Materials = __esm({
|
|
|
843
843
|
const vertShader = `
|
|
844
844
|
uniform bool SHADE;
|
|
845
845
|
|
|
846
|
+
// Keep MSAA edge pixels from sampling outside the face's atlas region.
|
|
847
|
+
#if __VERSION__ >= 300
|
|
848
|
+
centroid out vec2 vUv;
|
|
849
|
+
#else
|
|
846
850
|
varying vec2 vUv;
|
|
851
|
+
#endif
|
|
847
852
|
varying vec3 vTint;
|
|
848
853
|
varying float light;
|
|
849
854
|
varying float lift;
|
|
@@ -900,7 +905,11 @@ var init_Materials = __esm({
|
|
|
900
905
|
uniform bool EMISSIVE;
|
|
901
906
|
uniform float BRIGHTNESS;
|
|
902
907
|
|
|
908
|
+
#if __VERSION__ >= 300
|
|
909
|
+
centroid in vec2 vUv;
|
|
910
|
+
#else
|
|
903
911
|
varying vec2 vUv;
|
|
912
|
+
#endif
|
|
904
913
|
varying vec3 vTint;
|
|
905
914
|
varying float light;
|
|
906
915
|
varying float lift;
|