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

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.
@@ -12,7 +12,7 @@ export declare function createOpaque(): StandardMaterial;
12
12
  export declare function createTransparent(): StandardMaterial;
13
13
  /**
14
14
  * Creates a new instance of the default loader opaque material.
15
- * @returns {THREE.MeshPhongMaterial} A new instance of MeshPhongMaterial with transparency.
15
+ * @returns {THREE.MeshLambertMaterial} A new instance of MeshLambertMaterial with transparency.
16
16
  */
17
17
  export declare function createBasicOpaque(): THREE.MeshLambertMaterial;
18
18
  /**
@@ -47892,18 +47892,20 @@ void main() {
47892
47892
  uniform vec3 focusColor;
47893
47893
  `
47894
47894
  ).replace(
47895
- "#include <output_fragment>",
47895
+ "#include <opaque_fragment>",
47896
47896
  `
47897
47897
  // VISIBILITY
47898
- if (vIgnore > 0.0f)
47898
+ if (vIgnore > 0.0f){
47899
47899
  discard;
47900
+ }
47901
+
47900
47902
 
47901
47903
  // COLORING
47902
47904
  // vColored == 1 -> Vertex Color * light
47903
47905
  // vColored == 0 -> Phong Color
47904
47906
  float d = length(outgoingLight);
47905
47907
  gl_FragColor = vec4(vColored * vColor.xyz * d + (1.0f - vColored) * outgoingLight.xyz, diffuseColor.a);
47906
-
47908
+
47907
47909
  // FOCUS
47908
47910
  gl_FragColor = mix(gl_FragColor, vec4(focusColor,1.0f), vHighlight * focusIntensity);
47909
47911
 
@@ -47936,6 +47938,8 @@ void main() {
47936
47938
  #endif
47937
47939
  `
47938
47940
  );
47941
+ console.log(shader.vertexShader);
47942
+ console.log(shader.fragmentShader);
47939
47943
  };
47940
47944
  }
47941
47945
  }