【问题求助】大佬们,帮孩子看看吧
unity3d吧
全部回复
仅看楼主
level 3
大佬,请问这个如何解决啊?unity版本是2022[泪]
问题:使用魔法盒西西shader后,材质球给上粒子后变透明了,请问如何解决?
1.更换shader后,会出现黄色警告:
Could not create a custom UI for the shader 'XIXI/Add'. The shader has the following: 'CustomEditor = ShaderForgeMaterialInspector'. Does the custom editor specified include its namespace? And does the class either derive from ShaderGUI or MaterialEditor?
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
无法为着色器“XIXI/Add”创建自定义UI。着色器具有以下特性:“CustomEditor=ShaderForgeMaterialInspector”。指定的自定义编辑器是否包含其命名空间?该类是从ShaderGUI还是MaterialEditor派生的?
UnityEngine。GUI实用程序:ProcessEvent(int、intptr、bool&)
2.使用西西shader后,粒子局内贴图是透明的
3.百度后尝试将 shader最后一行注释掉,没有黄色警告了,但是贴图依旧是透明的。
2025年02月23日 15点02分 1
level 3
1.注释
2.取消勾选
2025年03月01日 17点03分 3
1