Shader perfrormance regardig Toggle Switch
Posted: Sun Dec 02, 2018 10:08 pm
Hello again!
Thanks once more for the awesome product and great support.
The matter can be best explained with the following example:
If I am using - Toggle Switch which, on 0 has a simple FLoat value to use as Albedo, and on 1 I have a complex network of operators, lerps and image processing… will the runtime performance be affected depending on the toggle?
In other words… what happens to the input of the toggle switch which isn’t passed?? Does it affect frame rate if it’s disabled?? Is it still computed??
Practical case: I’m developing a shader which permits the use image blending (overlay) and multiple leaped textures. I’m “enabling” the feature with a Toggle Switch. So what happens when the feature is disabled?? Should I be seeing an betterment in runtime performance??
Thank you so much beforehand!!!
And again, awesome product rated 5 stars!
-Rob
Thanks once more for the awesome product and great support.
The matter can be best explained with the following example:
If I am using - Toggle Switch which, on 0 has a simple FLoat value to use as Albedo, and on 1 I have a complex network of operators, lerps and image processing… will the runtime performance be affected depending on the toggle?
In other words… what happens to the input of the toggle switch which isn’t passed?? Does it affect frame rate if it’s disabled?? Is it still computed??
Practical case: I’m developing a shader which permits the use image blending (overlay) and multiple leaped textures. I’m “enabling” the feature with a Toggle Switch. So what happens when the feature is disabled?? Should I be seeing an betterment in runtime performance??
Thank you so much beforehand!!!
And again, awesome product rated 5 stars!
-Rob