So I was reading a few things on shader optimization and realized that conditional branches and reading from textures are very bad for performance. I was doing a lot of those :(
But I'm not sure how significant the impact is... how'd like to learn more about it. Is there a way to test this? The profiler doesnt seem to show any relevant info on shaders.
Or perhaps any suggestion of a stress-test I could create to see the impact in fps by tweaking shaders' details?
PS - also, is it ok to take optimization tips from other engines, since godot's shading language is different? or is it still all valid considering the GPUs are the ones doing the work?