Browse Source

Fix webgl_lightshafts example for CI

[email protected] 5 years ago
parent
commit
32c2fcedee
2 changed files with 1 additions and 0 deletions
  1. BIN
      examples/screenshots/webgl_lightshafts.png
  2. 1 0
      examples/webgl_lightshafts.html

BIN
examples/screenshots/webgl_lightshafts.png


+ 1 - 0
examples/webgl_lightshafts.html

@@ -153,6 +153,7 @@
 
 							child.material.transparent = false;
 							child.material.alphaTest = 0.5;
+							child.material.depthWrite = true;
 
 						}