So I have this
.obj model on which I want to run a custom shader, but it simply display the gray 3D model like if the shader wasn’t loaded at all.
I have no error, and it’s working fine with any other 3D primitive.
Also if I simply use
texture.unbind(), the texture is correctly applied (the
.obj have its
// setup shader.load("shader.vert", "shader.frag"); model.loadModel("mymodel.obj", false); // draw shader.begin(); model.draw(OF_MESH_FILL); // boring gray model plane.draw(); // shader works as expected shader.end();
Somebody have any insight on this ?