@hugohil wrote:
Hey,
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.// 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 ?
Thanks !
Posts: 1
Participants: 1