Anyone know of a PSX style shader anywhere I can download that works in PlayCanvas?
Hi @futilegames,
What’s a PSX style shader? Can you show an example?
perhaps this style?
2 Likes
Sorry I forgot to link:
This is the one I use in Unity. Looking through the forums, I think, if I can find one that someone as coded in GLSL shader language I think it is called? Either way I thought I would make this topic incase someone else is looking for one / working on one.
I written this a while back under my then name futilegames,
// Vertex shader
attribute vec3 aPosition;
uniform mat4 uModelViewProjectionMatrix;
void main(void) {
gl_Position = uModelViewProjectionMatrix * vec4(aPosition, 1.0);
}
// Fragment shader
precision mediump float;
uniform vec4 uColor;
void main(void) {
gl_FragColor = uColor;
}
I got this but struggling to even attach the shader to the camera, any advice? I thought I would ask ChatGPT a year later as I am still trying to achieve this.