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

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

POM (Parallel Occlusion Mapping)

A project for parallel occlusion mapping study.
https://github.com/ACskyline/POM

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

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

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


在人人想法都差不多的地方,没人会想得太多。 ----沃尔特·李普曼