21 years, 4 months ago
Highlights
21 years, 4 months ago
got it!just have to to it like this:static float ambient_mat[] = {1.0f, 0.0f, 0.0f, 1.0f};glMaterialfv(GL_FRONT,GL_AMBIENT_AND DIFFUSE,ambient_mat);and it worksGreetsSchmiid
21 years, 4 months ago
Hello, I have a problem with light and colors in openGl. I just want to experiment with some material attributes. So I do not want to define Colors with glColor3f, but I want to…
21 years, 4 months ago
there is no effect if I use glMaterialf before glBegin or not!Is this all Code what I need or do I have to enable something more?Schmiid
21 years, 4 months ago
Latest Activity
got it!just have to to it like this:static float ambient_mat[] = {1.0f, 0.0f, 0.0f, 1.0f};glMaterialfv(GL_FRONT,GL_AMBIENT_AND DIFFUSE,ambient_mat);and it worksGreetsSchmiid
21 years, 4 months ago
there is no effect if I use glMaterialf before glBegin or not!Is this all Code what I need or do …
21 years, 4 months ago
Hello, I have a problem with light and colors in openGl. I just want to experiment with some material attributes. …
21 years, 4 months ago