What is the command to do this:
glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, color);
with psp gu ?
PSPGL Question
-
- Posts: 70
- Joined: Thu Jun 22, 2006 9:24 pm
Kojima is correct - pspgl does not support GL_FRONT_AND_BACK. From glCullFace.c:
And since you brought up glMaterial.c, if you actually looked through the code, you'd see the the first param (GL_FRONT_AND_BACK) is ignored by the pspgl code for glMaterialfv.
Code: Select all
case GL_FRONT_AND_BACK:
default:
GLERROR(GL_INVALID_ENUM);
And since you brought up glMaterial.c, if you actually looked through the code, you'd see the the first param (GL_FRONT_AND_BACK) is ignored by the pspgl code for glMaterialfv.
-
- Posts: 70
- Joined: Thu Jun 22, 2006 9:24 pm