PDA

View Full Version : Material shader for OBJ loading



devdept
03-29-2011, 02:37 AM
Hi All,

We are looking for a standard shader for using all the data/maps the OBJ material (*.mtl) file definition contains.

Where can we find something almost ready to use?

Thanks,

Alberto

Alfonse Reinheart
03-29-2011, 02:57 AM
The closest you might find would be a shader that replicates the OpenGL fixed-function pipeline. Outside of that, it's doubtful that someone wrote a shader based on MTL files.

devdept
03-29-2011, 03:19 AM
Thanks Alfonse,

Would it support diffuse maps, reflections maps, etc. like specified here: http://paulbourke.net/dataformats/mtl/ ?

Thanks,

Alberto