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/bundle.js CHANGED
@@ -33044,7 +33044,12 @@ var MineRender = (() => {
33044
33044
  const vertShader = `
33045
33045
  uniform bool SHADE;
33046
33046
 
33047
+ // Keep MSAA edge pixels from sampling outside the face's atlas region.
33048
+ #if __VERSION__ >= 300
33049
+ centroid out vec2 vUv;
33050
+ #else
33047
33051
  varying vec2 vUv;
33052
+ #endif
33048
33053
  varying vec3 vTint;
33049
33054
  varying float light;
33050
33055
  varying float lift;
@@ -33101,7 +33106,11 @@ var MineRender = (() => {
33101
33106
  uniform bool EMISSIVE;
33102
33107
  uniform float BRIGHTNESS;
33103
33108
 
33109
+ #if __VERSION__ >= 300
33110
+ centroid in vec2 vUv;
33111
+ #else
33104
33112
  varying vec2 vUv;
33113
+ #endif
33105
33114
  varying vec3 vTint;
33106
33115
  varying float light;
33107
33116
  varying float lift;