laymur 0.17.4 → 0.17.5

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.
@@ -1,4 +1,4 @@
1
- import { InstancedBufferGeometry, Uint16BufferAttribute, Float32BufferAttribute, Vector4, ShaderMaterial, InstancedBufferAttribute, Vector2, Vector3, Matrix3, Matrix4 } from 'three';
1
+ import { InstancedBufferGeometry, Uint16BufferAttribute, Float32BufferAttribute, Vector4, ShaderMaterial, DoubleSide, InstancedBufferAttribute, Vector2, Vector3, Matrix3, Matrix4 } from 'three';
2
2
  import { UIColor } from '../../color/UIColor.js';
3
3
  import { UITransparencyMode } from '../../UITransparencyMode.js';
4
4
  import { buildGenericPlaneFragmentShader, DEFAULT_ALPHA_TEST, resolveGLSLTypeInfo } from '../shared.js';
@@ -113,6 +113,8 @@ function buildMaterial(source, uniformProperties, varyingProperties, transparenc
113
113
  alphaHash: transparency === UITransparencyMode.HASH,
114
114
  depthWrite: transparency !== UITransparencyMode.BLEND,
115
115
  depthTest: true,
116
+ side: DoubleSide,
117
+ forceSinglePass: true,
116
118
  });
117
119
  }
118
120
  function reconstructValue(referenceValue, array, offset) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "laymur",
3
- "version": "0.17.4",
3
+ "version": "0.17.5",
4
4
  "description": "Constraint-based UI library for Three.js mobile advertisements",
5
5
  "keywords": [
6
6
  "ui",