What happens to variables that aren’t used in outputs of a GLSL fragment shader?
1.They produce excessive slow-downs in GPUs that do not adhere to the OpenGL standard, decreasing load time and increasing frame rate.
2. They are optimized out and removed by the compiler on most platforms.
3.They remain in memory and use resources, and are the mark of a novice developer.
4.None of the above
Posted Date:-2022-05-02 04:08:11