Hi. Would it be possible to somehow make culling mode available to node tree - so we could create Static Switch to enable/disable two sided rendering for shaders? Maybe there is another way? Currently I need to create two versions of shader just to have two sided rendering available.
Thanks
Culling mode access
Re: Culling mode access
culling mode cant be switched in between pixels. thats the whole point of it. you can however use no culling and the face node to tell what side you are rendering and then just discard it based on your logic
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Culling mode access
Hello kurzemnieks, as HellGate kindly pointed out, we recommend that you look into both the Face and Switch by Face nodes, and also our TwoSidedWithFace shader sample at AmplifyShaderEditor/Examples/Official/TwoSidedWithFace.
Please let us know if the above nodes and sample are helpful, or if you have any further questions, thanks!
Please let us know if the above nodes and sample are helpful, or if you have any further questions, thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!