Selaa lähdekoodia

Fix webgl_lightshafts example for CI

[email protected] 5 vuotta sitten
vanhempi
commit
32c2fcedee
2 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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;
 
 						}