| View previous topic :: View next topic |
| Author |
Message |
siberianstar
Joined: 22 Jun 2006 Posts: 70
|
Posted: Tue Jul 11, 2006 2:39 am Post subject: PSPGL Question |
|
|
What is the command to do this:
glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, color);
with psp gu ? |
|
| Back to top |
|
 |
Kojima
Joined: 26 Jun 2006 Posts: 275
|
Posted: Tue Jul 11, 2006 3:47 am Post subject: |
|
|
| Considering there is no Pspgl function for that, I doubt it's supported. I'd like to know for sure too though. |
|
| Back to top |
|
 |
siberianstar
Joined: 22 Jun 2006 Posts: 70
|
Posted: Tue Jul 11, 2006 4:23 am Post subject: |
|
|
glMaterial.c
void glMaterialfv (GLenum face, GLenum pname, const GLfloat *params)
:P |
|
| Back to top |
|
 |
zilt
Joined: 21 Feb 2006 Posts: 45 Location: Ontario, Canada
|
Posted: Tue Jul 11, 2006 4:31 am Post subject: |
|
|
Kojima is correct - pspgl does not support GL_FRONT_AND_BACK. From glCullFace.c:
| Code: | 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. |
|
| Back to top |
|
 |
siberianstar
Joined: 22 Jun 2006 Posts: 70
|
Posted: Tue Jul 11, 2006 5:48 am Post subject: |
|
|
| hmm dont look at params, it was an example. I just want to know the docs of sceGuMaterial, i can't find it :) |
|
| Back to top |
|
 |
|