Broken OpenGL sampler usage
c42f opened this issue · comments
It looks like all the code related to attaching textures to shaders is completely broken (perhaps it made sense in earlier OpenGL versions?). In any case, we need some calls to glGenSamplers
, to set the sampler properties, and to attach the samplers, textures and shaders properly.