You can apply material to a mesh using ofMaterial
, you can find an example here https://github.com/openframeworks/openFrameworks/blob/master/examples/3d/ofNodeExample/src/ofApp.cpp
Or you can write your own shaders, in this case, have a look at this tutorial http://openframeworks.cc/tutorials/graphics/shaders.html