koel/resources/assets/js/visualizers/asteroid/shaders/skybox.vert.ts
2024-10-14 00:37:01 +07:00

8 lines
178 B
TypeScript

export const skyboxVert
= `
varying vec3 v_direction;
void main(){
v_direction = position.xyz;
gl_Position = projectionMatrix * modelViewMatrix * vec4(position.xyz, 1.);
}
`