https://github.com/mrange/glsl-snippets
GLSL Snippets with origin (when I remember them)
https://github.com/mrange/glsl-snippets
Last synced: 5 months ago
JSON representation
GLSL Snippets with origin (when I remember them)
- Host: GitHub
- URL: https://github.com/mrange/glsl-snippets
- Owner: mrange
- License: cc0-1.0
- Created: 2021-08-10T06:10:02.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-12-31T22:03:47.000Z (6 months ago)
- Last Synced: 2026-01-05T10:12:33.051Z (6 months ago)
- Language: GLSL
- Size: 191 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# glsl-snippets
When writing shaders I often come back to the same building blocks over and over again.
I wanted a place where I could easily find the building blocks as well as where I found them in order to give attribution to the original author.
My own building blocks I have created are all under CC0 which means I relinquishes copyright claims. Do whatever you want.
## Snippets
1. [Various GLSL snippets](src/snippets.glsl)
1. [Simple vertex shader](src/vertex_shader.glsl)
1. [Simple fragment shader](src/fragment_shader.glsl)
1. [Atari distance fields](src/atari.glsl)
1. [Impulse font distance fields](src/impulse_font.glsl)
1. [Glimglam font distance fields](src/glimglam_font.glsl)
## Blogs and Articles
1. [Distance fields (3D)](https://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm)
1. [Distance fields (2D)](https://iquilezles.org/www/articles/distfunctions2d/distfunctions2d.htm)
1. [Mercury GLSL snippets](https://mercury.sexy/hg_sdf)
1. [ShaderToy](https://shadertoy.com/)
1. [ShaderToy - profile](https://www.shadertoy.com/profile)