An open API service indexing awesome lists of open source software.

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)

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)