Search found 1 match

by mortenblaa
Wed Apr 03, 2019 3:02 pm
Forum: Amplify Shader Editor
Topic: Static Switch without #else
Replies: 1
Views: 16734

Static Switch without #else

Hi,

Is it possible to use the Static Switch where it only acts as a #ifdef, without the #else part?

What I am trying to do, is to connect a value to the Opacity input, but only when a keyword is enabled. Basically I want the shader to behave as if there is nothing connected to Opacity, when the ...