HuangJuanLR / Juan_ShaderandGraphGUI

GUI for both ShaderLab and ShaderGraph
MIT License
31 stars 2 forks source link

Missing Allow Material Override in ShaderGraphGUI in HDRP #1

Open SmallSix666 opened 7 months ago

SmallSix666 commented 7 months ago

PixPin_2024-01-24_01-59-43 HDRP中报错,URP中没有问题,Unity2021.3.33f1

HuangJuanLR commented 7 months ago

已经修复,将所有可能受限于版本的Enums单独存储到了一个新增cs文件中。经过测试在HDRP中除了shader编译错误外,GUI正常运行。 可以重新下载Release中的unitypackage然后重新导入

SmallSix666 commented 7 months ago

image 非常棒,HDRP可以使用了,但是HDRP中ShaderGraph的Surface Options下的属性选项不能暴露出来,不知道能否暴露?

HuangJuanLR commented 7 months ago

我会将这个功能加入到TODO List中,暂时先把这个Issue改个名字然后置顶

HuangJuanLR commented 6 months ago

现阶段添加了URP中的Surface Options以及Advanced Options。但由于URP和HDRP的属性在命名规范上有出入,目前二者暂不通用。后续会为HDRP单独添加这两个模块。