Sign in to follow this  

Curiosity about the playstation

This topic is 4195 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Guest Anonymous Poster
The PS3 uses Cg as its shader language, and there are two apis you can use on it, one of which is OpenGL/ES based and the other is a lower level proprietary api.

Share this post


Link to post
Share on other sites
Well NVidia are making the graphics chip for the PS3 so the PS3 SDK may include a Cg compiler for it, but then again it may not. I'm sure they'll have some high level shader language available and it will probably look like Cg even if it isn't (note that GLSL and HLSL are both rather similar to Cg, HLSL and Cg are pretty much identical actually, GLSL is a bit different though).

As for the PS2 and the original PS I have no idea what kind of shader language was available. The orignal PS probably didn't have any programable shaders (at least not as we know them today).

Share this post


Link to post
Share on other sites
The PS2 doesn't officially support Cg or GLSL or really any open shading language. They didn't exist when the machine was released. In order to get that kind of effect, you'd have to screw around with manually programming its two vector units VU0 and VU1, which has certainly been done.

Share this post


Link to post
Share on other sites
The PS1 has no shader hardware whatsoever.

The PS2 has no form of fragment shading; in fact, it's fixed-function pixel pipeline is relatively primative. However, the second vector unit can be setup to function very much like a vertex shader; in fact it has rather greater functionality than conventional vertex shaders of the era.

Share this post


Link to post
Share on other sites
Actually, the PS2 vector units are still more flexible than current generation PC graphics hardware in some ways. The VU can do much more procedurally generating geometry than DX tesselators.

Share this post


Link to post
Share on other sites

This topic is 4195 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this