c42f / displaz

A hackable lidar viewer

Home Page:http://c42f.github.io/displaz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.