Registriert: Fr Aug 13, 2004 17:43 Beiträge: 60 Wohnort: Belgien
Hello,
When I try to use glMaterial in combination with textures and lighting, I don't see anyting of the lighting. Using glMaterial with a glColor and lighting works fine. What should I do? Is it possible to use glMaterial in combination with textures and lighting?
Registriert: Fr Aug 13, 2004 17:43 Beiträge: 60 Wohnort: Belgien
I have found the problem. I should not use glColor as mtl (i'm working on a mtl implementation) files doesn't support a command for setting the color. I should use the diffuse (Kd command) to set the color.
Mitglieder in diesem Forum: 0 Mitglieder und 3 Gäste
Du darfst keine neuen Themen in diesem Forum erstellen. Du darfst keine Antworten zu Themen in diesem Forum erstellen. Du darfst deine Beiträge in diesem Forum nicht ändern. Du darfst deine Beiträge in diesem Forum nicht löschen. Du darfst keine Dateianhänge in diesem Forum erstellen.