123456789101112131415161718192021222324252627 |
- const BasicShader = {
- uniforms: {},
- vertexShader: `
- void main() {
- gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
- }`,
- fragmentShader: `
- void main() {
- gl_FragColor = vec4( 1.0, 0.0, 0.0, 0.5 );
- }`
- };
- export { BasicShader };
|