[unity]multi_compile和 shader_feature
2020/03
30
11:03
shader_feature特性在打包时自动剥离
multi_compile特性在打包时不剥离,全量编译
示例1:
出了Android包,有些特效和表现不正常,看C#代码
.material.DisableKeyword(“XXX”);
不生效,有可能就是使用了 shader_feature,要改成multi_compile才能支持代码动态切换
CopyRights: The Post by BY-NC-SA For Authorization,Original If Not Noted,Reprint Please Indicate From 老刘@开发笔记
Post Link: [unity]multi_compile和 shader_feature
Post Link: [unity]multi_compile和 shader_feature