Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASE上Static Switch开关好像不能做主栏 #50

Open
lokyeye opened this issue May 16, 2024 · 8 comments
Open

ASE上Static Switch开关好像不能做主栏 #50

lokyeye opened this issue May 16, 2024 · 8 comments

Comments

@lokyeye
Copy link

lokyeye commented May 16, 2024

image
image
image
Static Switch得开关好像不能做主栏!要不然失效!

@JasonMa0012
Copy link
Owner

具体什么问题? 还有发下生成的代码

@lokyeye
Copy link
Author

lokyeye commented May 16, 2024

我想用ASE的这个Main 做主栏 然后关联Static Switch开关这样可以更方便控制shader的调用!但是好像加了Main那个栏目下拉是有了!但是Static Switch开关失效了!
image
image
image

@JasonMa0012
Copy link
Owner

主贴图Float应该用Main(), 别和下拉菜单搞混了

@lokyeye
Copy link
Author

lokyeye commented May 16, 2024

但是这个主贴图的其实是个开关,我想让他同时控制下拉菜单和Static Switch,这样能让不用功能直接不使用

@JasonMa0012
Copy link
Owner

主贴图的Main()可本身是开关, 可以带Keyword, 但是不建议Keyword和Enum()重复, 这俩功能要分清楚, 要不然开发和使用都会有麻烦

@lokyeye
Copy link
Author

lokyeye commented May 16, 2024

New Amplify Shader.zip
我做了一个压缩包!大佬拜托看一下!

@lokyeye
Copy link
Author

lokyeye commented May 16, 2024

材质在这个里面,Amplify Shader Editor v1.9.1,unity版本2021.3.38f1

@JasonMa0012
Copy link
Owner

keyword要全大写, 而不是_MainTexKEYWORD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants