Priest of the Order of the Butterfly
Posts: 508 from 2004/4/15
I am using the following code to set the material:
glMaterialfv(GL_FRONT, GL_AMBIENT, mat.ambient.rgba);
glMaterialfv(GL_FRONT, GL_DIFFUSE, mat.diffuse.rgba);
glMaterialfv(GL_FRONT, GL_SPECULAR, mat.specular.rgba);
glMaterialf(GL_FRONT, GL_SHININESS, mat.shininess);
rgba points to an array of float values (rgba order).
The result on linux:firstperson_linux.png
The result on mac:firstperson_mac.png
the reult on mos:firstperson_mos.png
In the end it should look like Zeewolf2zeewolf2.png
because I really like clean look of filled polygons.
Currently it is still the first person game controller, next step will be loading hight maps and implementing a flight controller.
I tested on a Mac Mini Silent Upgrade with Mos 3.9, but perhaps I can also prepare my Mac MDD with Radeon 9600 and test
it there.[ Edited by eliot 12.10.2016 - 20:11 ]