UNPKG
cheryglsljs
Version:
latest (1.1.20)
1.1.20
1.1.19
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.8
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A Three.js + GLSL-based wave effect library.
github.com/shivam-070208/cheryjs
shivam-070208/cheryjs
cheryglsljs
/
src
/
effects
/
TransitionEffect
/
VertexShader.glsl.js
9 lines
•
208 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
export
default
/*glsl*/
` varying vec2 vUv; varying vec3 vPosition;
void
main
()
{ vUv = uv; vPosition = position; gl_Position = projectionMatrix * modelViewMatrix *
vec4
(position,
1.0
); } `