├── .gitignore ├── 00-intro-0 └── hello.glsl ├── 01-intro-1 └── hello.glsl ├── 02-intro-2 └── sides.glsl ├── 03-intro-3 └── vectors.glsl ├── 04-intro-4 └── box.glsl ├── 05-intro-5 └── mandelbrot.glsl ├── 06-intro-6 └── mpow.glsl ├── 07-frag-1 └── fragment.glsl ├── 08-frag-2 └── fragment.glsl ├── 09-frag-3 └── fragment.glsl ├── 10-vert-1 └── vertex.glsl ├── 11-vert-2 ├── fragment.glsl └── vertex.glsl ├── 12-geom-1 └── transforms.glsl ├── 13-geom-2 └── translate.glsl ├── 14-geom-3 └── scale.glsl ├── 15-geom-4 └── reflect.glsl ├── 16-geom-5 └── rotate.glsl ├── 17-light-1 ├── fragment.glsl └── vertex.glsl ├── 18-light-2 ├── fragment.glsl └── vertex.glsl ├── 19-light-3 ├── fragment.glsl └── vertex.glsl ├── 20-light-4 ├── fragment.glsl └── vertex.glsl ├── 21-light-5 ├── fragment.glsl ├── light.glsl └── vertex.glsl ├── 22-npr-1 ├── fragment.glsl └── vertex.glsl ├── 23-npr-2 ├── fragment.glsl └── vertex.glsl ├── 24-gpgpu-1 └── life.glsl ├── 25-gpgpu-2 └── heat.glsl ├── 26-gpgpu-3 └── wave.glsl ├── 27-prims-1 ├── fragment.glsl └── vertex.glsl ├── 28-prims-2 └── fragment.glsl ├── 29-playground-flocking ├── position.glsl ├── render.frag ├── render.vert ├── speed.glsl └── triangle.glsl └── 30-playground-gpgpu ├── render.glsl └── update.glsl /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /00-intro-0/hello.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/00-intro-0/hello.glsl -------------------------------------------------------------------------------- /01-intro-1/hello.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/01-intro-1/hello.glsl -------------------------------------------------------------------------------- /02-intro-2/sides.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/02-intro-2/sides.glsl -------------------------------------------------------------------------------- /03-intro-3/vectors.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/03-intro-3/vectors.glsl -------------------------------------------------------------------------------- /04-intro-4/box.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/04-intro-4/box.glsl -------------------------------------------------------------------------------- /05-intro-5/mandelbrot.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/05-intro-5/mandelbrot.glsl -------------------------------------------------------------------------------- /06-intro-6/mpow.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/06-intro-6/mpow.glsl -------------------------------------------------------------------------------- /07-frag-1/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/07-frag-1/fragment.glsl -------------------------------------------------------------------------------- /08-frag-2/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/08-frag-2/fragment.glsl -------------------------------------------------------------------------------- /09-frag-3/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/09-frag-3/fragment.glsl -------------------------------------------------------------------------------- /10-vert-1/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/10-vert-1/vertex.glsl -------------------------------------------------------------------------------- /11-vert-2/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/11-vert-2/fragment.glsl -------------------------------------------------------------------------------- /11-vert-2/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/11-vert-2/vertex.glsl -------------------------------------------------------------------------------- /12-geom-1/transforms.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/12-geom-1/transforms.glsl -------------------------------------------------------------------------------- /13-geom-2/translate.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/13-geom-2/translate.glsl -------------------------------------------------------------------------------- /14-geom-3/scale.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/14-geom-3/scale.glsl -------------------------------------------------------------------------------- /15-geom-4/reflect.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/15-geom-4/reflect.glsl -------------------------------------------------------------------------------- /16-geom-5/rotate.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/16-geom-5/rotate.glsl -------------------------------------------------------------------------------- /17-light-1/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/17-light-1/fragment.glsl -------------------------------------------------------------------------------- /17-light-1/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/17-light-1/vertex.glsl -------------------------------------------------------------------------------- /18-light-2/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/18-light-2/fragment.glsl -------------------------------------------------------------------------------- /18-light-2/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/18-light-2/vertex.glsl -------------------------------------------------------------------------------- /19-light-3/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/19-light-3/fragment.glsl -------------------------------------------------------------------------------- /19-light-3/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/19-light-3/vertex.glsl -------------------------------------------------------------------------------- /20-light-4/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/20-light-4/fragment.glsl -------------------------------------------------------------------------------- /20-light-4/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/20-light-4/vertex.glsl -------------------------------------------------------------------------------- /21-light-5/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/21-light-5/fragment.glsl -------------------------------------------------------------------------------- /21-light-5/light.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/21-light-5/light.glsl -------------------------------------------------------------------------------- /21-light-5/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/21-light-5/vertex.glsl -------------------------------------------------------------------------------- /22-npr-1/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/22-npr-1/fragment.glsl -------------------------------------------------------------------------------- /22-npr-1/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/22-npr-1/vertex.glsl -------------------------------------------------------------------------------- /23-npr-2/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/23-npr-2/fragment.glsl -------------------------------------------------------------------------------- /23-npr-2/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/23-npr-2/vertex.glsl -------------------------------------------------------------------------------- /24-gpgpu-1/life.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/24-gpgpu-1/life.glsl -------------------------------------------------------------------------------- /25-gpgpu-2/heat.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/25-gpgpu-2/heat.glsl -------------------------------------------------------------------------------- /26-gpgpu-3/wave.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/26-gpgpu-3/wave.glsl -------------------------------------------------------------------------------- /27-prims-1/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/27-prims-1/fragment.glsl -------------------------------------------------------------------------------- /27-prims-1/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/27-prims-1/vertex.glsl -------------------------------------------------------------------------------- /28-prims-2/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/28-prims-2/fragment.glsl -------------------------------------------------------------------------------- /29-playground-flocking/position.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/29-playground-flocking/position.glsl -------------------------------------------------------------------------------- /29-playground-flocking/render.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/29-playground-flocking/render.frag -------------------------------------------------------------------------------- /29-playground-flocking/render.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/29-playground-flocking/render.vert -------------------------------------------------------------------------------- /29-playground-flocking/speed.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/29-playground-flocking/speed.glsl -------------------------------------------------------------------------------- /29-playground-flocking/triangle.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/29-playground-flocking/triangle.glsl -------------------------------------------------------------------------------- /30-playground-gpgpu/render.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/30-playground-gpgpu/render.glsl -------------------------------------------------------------------------------- /30-playground-gpgpu/update.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewlustro/shader-school-answers/HEAD/30-playground-gpgpu/update.glsl --------------------------------------------------------------------------------