-
Niklas Haas authored
We need to use the explicitly named functions like texture2D(), texture3D() etc. for low GLSL versions. Add a bunch of shitty compatibility code to template out the function name. The specific way I solved it also opens us up to allowing e.g. rectangle textures in the future.
bd502804