[Shading]Shader Sources Collections
keywords:Shader, HLSL, GLSL, Effect, Example
Demo & Examples
Planet
Tiny Planet: Vulcan
https://www.shadertoy.com/view/ls2Bzd
Tiny Planet: Earth
https://www.shadertoy.com/view/lt3XDM
Watch four billion years of humanity in a pixel shader
https://www.rockpapershotgun.com/watch-four-billion-years-of-humanity-in-a-pixel-shader
https://davidar.io/post/sim-glsl
Skeletal Animations
Experiments on geometry shader instancing with skeletal animations
https://github.com/keijiro/SkeletalGeometricEffects
Examples in Games
Tribute - Journey!
https://www.shadertoy.com/view/ldlcRf
Atmospheric
Faster atmospheric scattering
https://www.shadertoy.com/view/3dBSDW
Sirenian Dawn VXAA T4X Filmic
https://www.shadertoy.com/view/WdGBDw
Cloud (Volumetric)
Protean clouds, Fully procedural 3D animated volume with three evaluations per step (for shading) running fast enough for 1080p rendering.
https://www.shadertoy.com/view/3l23Rh
POM (Parallel Occlusion Mapping)
A project for parallel occlusion mapping study.
https://github.com/ACskyline/POM
Noise
Generic 1,2,3 Noise in GLSL
https://gist.github.com/patriciogonzalezvivo/670c22f3966e662d2f83
Curl Noise Particle Flow
Implementation of curl noise for particles simulated on GPU with OpenGL
https://github.com/kbladin/Curl_Noise
A particle system addon with curl noise for openFrameworks
https://github.com/elaye/ofxCurlNoise
Curl-Noise Particle Flow using OpenCL
https://github.com/CaffeineViking/cnpf
Cube to Sphere
Morph a sphere to a cube and a cube to a sphere with GLSL
https://gamedev.stackexchange.com/questions/7189/morph-a-sphere-to-a-cube-and-a-cube-to-a-sphere-with-glsl
Textured Rectangular Area Light
Textured rectangular area light based on Unreal Engine’s most representative point method.
https://www.shadertoy.com/view/wlSfW1
Mesh to Voxel
A Lightweight Mesh Voxelization Library with OpenGL Geometry Shader
https://github.com/skanti/Mesh-Voxelization-OpenGL-Geometry-Shader
Misc
Yin Yang Spin 158 chars
https://www.shadertoy.com/view/4dG3DV
Tools & Libraries
Common Shaders
A workshopper for GLSL shaders and graphics programming.
https://github.com/stackgl/shader-school
This repo is for glsl shaders converted by hand from libretro’s common-shaders repo, since some don’t play nicely with the cg2glsl script.
https://github.com/libretro/glsl-shaders
Shader Editor (Viewer)
Console-based GLSL Sandbox for 2D/3D shaders
https://github.com/patriciogonzalezvivo/glslViewer
Shader Obfuscator
Minify and obfuscate GLSL or HLSL code
https://github.com/laurentlb/Shader_Minifier
Tutorials
UE4 Shader Tutorials
Unreal Engine 4 Shaders and Effects Cookbook
https://www.packtpub.com/game-development/unreal-engine-4-shaders-and-effects-cookbook
Fragment Shaders - Tutorials
Step-by-step guide through the abstract and complex universe of Fragment Shaders.
https://github.com/patriciogonzalezvivo/thebookofshaders
Starfield - Tutorials
Starfield Tutorial
https://www.shadertoy.com/view/tlyGW3
Shader Coding: Making a starfield - Part 1
https://www.youtube.com/watch?v=rvDo9LvfoVE
Animation - Tutorials
Smiley Tutorial
https://www.shadertoy.com/view/lsXcWn
Animating a smiley in ShaderToy
https://www.youtube.com/watch?v=vlD_KOrzGDc
在人人想法都差不多的地方,没人会想得太多。 ----沃尔特·李普曼