Browse Source

[hide] Prevent editor icon from casting shadows

Clément Espeute 2 tuần trước cách đây
mục cha
commit
f748d7d586
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      hrt/impl/EditorTools.hx

+ 1 - 0
hrt/impl/EditorTools.hx

@@ -8,6 +8,7 @@ class EditorIcon extends hrt.prefab.l3d.Billboard.BillboardObj {
 		super(tile, parent);
 		ignoreCollide = false;
 		this.category = category;
+		this.material.castShadows = false;
 	}
 
 	override function sync(ctx) {