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