Download RRT-GPU/shaders/vert.glsl from perrabyte/higher-accuracy-integrals: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/datasets/perrabyte/higher-accuracy-integrals/resolve/main/RRT-GPU/shaders/vert.glsl
- Command line
-
hf download hf://datasets/perrabyte/higher-accuracy-integrals/RRT-GPU/shaders/vert.glsl
-
curl -L -o vert.glsl https://huggingface.co/datasets/perrabyte/higher-accuracy-integrals/resolve/main/RRT-GPU/shaders/vert.glsl
350 Bytes
| layout(push_constant) uniform RRTPushConstants { | |
| mat4 numerator; | |
| mat4 denominator; | |
| } rrt; | |
| layout(location = 0) in vec3 inPosition; | |
| layout(location = 1) in vec4 inColor; | |
| layout(location = 0) out vec4 fragColor; | |
| void main() { | |
| gl_Position = rrt.denominator * rrt.numerator * vec4(inPosition, 1.0); | |
| fragColor = inColor; | |
| } |