Search found 2 matches

by Catalystc-NG
Mon Mar 26, 2018 6:59 pm
Forum: Amplify Shader Editor
Topic: #ifdef-Code generated by Static Switch
Replies: 5
Views: 4531

Re: #ifdef-Code generated by Static Switch

Hey!
Thanks for a super quick reply - you guys are pretty much on top of the game when it comes to customer service too!

Very nice to hear that this is a non-problem because of the compiler taking the whole shader in to the #ifdef -consideration!

Thanks again!
by Catalystc-NG
Mon Mar 26, 2018 5:20 pm
Forum: Amplify Shader Editor
Topic: #ifdef-Code generated by Static Switch
Replies: 5
Views: 4531

#ifdef-Code generated by Static Switch

Hi!

Is there any hope for an implementation of the Static Switch, that would handle the #ifdef / #else -scopes generated like in the image that has been attached to this post? (Please see the image)

Currently the Static Switch is generating code that will only enable the selection of two different ...