Priest of the Order of the Butterfly
Posts: 633 from 2004/4/15
Hm, ok,
I am using the following code to set the material:
Code:
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.pngThe result on mac:
firstperson_mac.pngthe reult on mos:
firstperson_mos.pngIn the end it should look like Zeewolf2
zeewolf2.pngbecause 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 ]regards
eliot