mirror of
https://github.com/seigler/webgl-threejs-hello
synced 2025-07-28 02:06:13 +00:00
⚡ Fast moving clouds with transparency and shadows
This commit is contained in:
parent
9dc521e39a
commit
8721b90d84
11 changed files with 88 additions and 111 deletions
6
app/js/shaders/depthShader-vert.glsl
Normal file
6
app/js/shaders/depthShader-vert.glsl
Normal file
|
@ -0,0 +1,6 @@
|
|||
varying vec2 vUV;
|
||||
|
||||
void main() {
|
||||
vUV = uv;
|
||||
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue