vim-web 0.3.39-dev.6 → 0.3.39-dev.7

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/vim-web.js CHANGED
@@ -47876,18 +47876,20 @@ class StandardMaterial {
47876
47876
  uniform vec3 focusColor;
47877
47877
  `
47878
47878
  ).replace(
47879
- "#include <output_fragment>",
47879
+ "#include <opaque_fragment>",
47880
47880
  `
47881
47881
  // VISIBILITY
47882
- if (vIgnore > 0.0f)
47882
+ if (vIgnore > 0.0f){
47883
47883
  discard;
47884
+ }
47885
+
47884
47886
 
47885
47887
  // COLORING
47886
47888
  // vColored == 1 -> Vertex Color * light
47887
47889
  // vColored == 0 -> Phong Color
47888
47890
  float d = length(outgoingLight);
47889
47891
  gl_FragColor = vec4(vColored * vColor.xyz * d + (1.0f - vColored) * outgoingLight.xyz, diffuseColor.a);
47890
-
47892
+
47891
47893
  // FOCUS
47892
47894
  gl_FragColor = mix(gl_FragColor, vec4(focusColor,1.0f), vHighlight * focusIntensity);
47893
47895