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.
@@ -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;