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/node/index.mjs
CHANGED
|
@@ -889,7 +889,12 @@ var init_Materials = __esm({
|
|
|
889
889
|
const vertShader = `
|
|
890
890
|
uniform bool SHADE;
|
|
891
891
|
|
|
892
|
+
// Keep MSAA edge pixels from sampling outside the face's atlas region.
|
|
893
|
+
#if __VERSION__ >= 300
|
|
894
|
+
centroid out vec2 vUv;
|
|
895
|
+
#else
|
|
892
896
|
varying vec2 vUv;
|
|
897
|
+
#endif
|
|
893
898
|
varying vec3 vTint;
|
|
894
899
|
varying float light;
|
|
895
900
|
varying float lift;
|
|
@@ -946,7 +951,11 @@ var init_Materials = __esm({
|
|
|
946
951
|
uniform bool EMISSIVE;
|
|
947
952
|
uniform float BRIGHTNESS;
|
|
948
953
|
|
|
954
|
+
#if __VERSION__ >= 300
|
|
955
|
+
centroid in vec2 vUv;
|
|
956
|
+
#else
|
|
949
957
|
varying vec2 vUv;
|
|
958
|
+
#endif
|
|
950
959
|
varying vec3 vTint;
|
|
951
960
|
varying float light;
|
|
952
961
|
varying float lift;
|