浏览代码

FX: Fix "Unlit" material creation

trethaller 4 年之前
父节点
当前提交
b8aefeff45
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      hide/view/FXEditor.hx

+ 3 - 1
hide/view/FXEditor.hx

@@ -193,7 +193,9 @@ private class FXSceneEditor extends hide.comp.SceneEditor {
 							PBR: {
 								mode: "BeforeTonemapping",
 								blend: "Alpha",
-								shadows: false
+								shadows: false,
+								culling: "Back",
+								colorMask: 0xff
 							}
 						}
 						if(onMake != null) onMake(p);