koel/resources/assets/js/visualizers/asteroid/shaders/skybox.vert.ts

9 lines
178 B
TypeScript
Raw Normal View History

2022-11-07 14:23:59 +00:00
export const skyboxVert =
`
varying vec3 v_direction;
void main(){
v_direction = position.xyz;
gl_Position = projectionMatrix * modelViewMatrix * vec4(position.xyz, 1.);
}
`