16
Substance Designer - Technical Support - Re: Need help with Visible If and some stuff.
on: October 19, 2015, 01:02:17 am
Hi Malo,
I have edited your graph and attached. It was easier than trying to explain how to fix it. I have tried to layout everything to make it easy for you to study the flow and how the switches work.
Comments:
Your visibleIf statements were perfectly fine. The issues where in the way your graph Blend nodes were constructed and the functions inside them. You had Integer nodes plugged into your If Else function nodes where you should have used Floats.
Try to stick with a standard for your Blend nodes else it will become confusing which way your switches are working. Your base (default) style should always feed into the Background slot of your Blend nodes and your changes/additions to the Foreground slot.
For your If Else nodes in your functions, always have your 0 Float plug into the "else" (your default) slot. This just makes it a lot easy to follow how your switches are working and make it much easier to add more shapes to your graph in the future.
I also removed some of your Normal/Combine nodes. These are expensive nodes so I have pushed this blending switch function to your lighter weight grayscale Blend nodes so only one Normal Combine node is now required.
Hope this helps.
I have edited your graph and attached. It was easier than trying to explain how to fix it. I have tried to layout everything to make it easy for you to study the flow and how the switches work.
Comments:
Your visibleIf statements were perfectly fine. The issues where in the way your graph Blend nodes were constructed and the functions inside them. You had Integer nodes plugged into your If Else function nodes where you should have used Floats.
Try to stick with a standard for your Blend nodes else it will become confusing which way your switches are working. Your base (default) style should always feed into the Background slot of your Blend nodes and your changes/additions to the Foreground slot.
For your If Else nodes in your functions, always have your 0 Float plug into the "else" (your default) slot. This just makes it a lot easy to follow how your switches are working and make it much easier to add more shapes to your graph in the future.
I also removed some of your Normal/Combine nodes. These are expensive nodes so I have pushed this blending switch function to your lighter weight grayscale Blend nodes so only one Normal Combine node is now required.
Hope this helps.