koel/resources/assets/js/visualizers/asteroid/shaders/skybox.vert.ts
2022-11-07 15:23:59 +01: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.);
}
`