浏览代码

[hide] Prevent editor icon from casting shadows

Clément Espeute 2 周之前
父节点
当前提交
f748d7d586
共有 1 个文件被更改,包括 1 次插入0 次删除
  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) {