Why don't we unify the far plane setting? If someone needs a different setting he might as well use his own linearize depth function and that renders the idea of having one in a shared file useless. Linearized depth is linearized depth.. in the past I used 2 different ones because I didn't realize the output of the one equals the other * 100.0.
Forgot the label thing though. Seems like fps are roughly same in performance mode like when using old #define standard but compilation time went up a bunch.
Some things cannot be put into uniforms, like switching between textures apparently. Or I just have no idea why because I'm dead tired.
Last edit: 9 years 3 months ago by Marty McFly.
The following user(s) said Thank You: crosire, Golgotha