Spaces:
Running
Running
Download src/react-fluid-distortion/glsl/base.vert from LiquidAI/LFM2-VL-WebGPU: direct link, hf CLI and curl.
- Browser
- Download file 450 Bytes
-
https://huggingface.co/spaces/LiquidAI/LFM2-VL-WebGPU/resolve/refs%2Fpr%2F1/src/react-fluid-distortion/glsl/base.vert
- Command line
-
hf download hf://spaces/LiquidAI/LFM2-VL-WebGPU@refs/pr/1/src/react-fluid-distortion/glsl/base.vert
-
curl -L -o base.vert https://huggingface.co/spaces/LiquidAI/LFM2-VL-WebGPU/resolve/refs%2Fpr%2F1/src/react-fluid-distortion/glsl/base.vert
450 Bytes
| varying vec2 vUv; | |
| varying vec2 vL; | |
| varying vec2 vR; | |
| varying vec2 vT; | |
| varying vec2 vB; | |
| uniform vec2 texelSize; | |
| void main() { | |
| vUv = uv; | |
| vL = uv - vec2(texelSize.x, 0.0); | |
| vR = uv + vec2(texelSize.x, 0.0); | |
| vT = uv + vec2(0.0, texelSize.y); | |
| vB = uv - vec2(0.0, texelSize.y); | |
| gl_Position = vec4(position, 1.0); | |
| } |