Fixed-step world runtime, event bus wire protocol between lanes, integration seam (game.ts) with placeholder ball. Lanes A/B/C own disjoint dirs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
30 lines
351 B
JavaScript
30 lines
351 B
JavaScript
/**
|
|
* 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 };
|