- starting pong game 3d
This commit is contained in:
Kum1ta
2024-07-30 01:08:32 +02:00
parent d27ab24c5e
commit 57c261c689
1284 changed files with 680273 additions and 0 deletions

View File

@ -0,0 +1,29 @@
/**
* Simple test shader
*/
const BasicShader = {
name: 'BasicShader',
uniforms: {},
vertexShader: /* glsl */`
void main() {
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
}`,
fragmentShader: /* glsl */`
void main() {
gl_FragColor = vec4( 1.0, 0.0, 0.0, 0.5 );
}`
};
export { BasicShader };