UNPKG

@threlte/extras

Version:

Utilities, abstractions and plugins for your Threlte apps

3 lines (2 loc) 265 B
export declare const vertexShader = "\nvarying vec2 vUv;\nvarying vec2 vPos;\nvoid main () {\n gl_Position = projectionMatrix * viewMatrix * modelMatrix * vec4(position, 1.0);\n vUv = uv;\n vPos = position.xy;\n}\n"; export declare const fragmentShader: string;