GLSL Sandbox is an online playground for all of your GLSL fragment shaders.
You can make one from scratch, or you can go to the gallery and fuck around with other peoples code.
It automatically compiles after each change.
Reference made by me: (I had to get the functions from the source code since they are not explained elsewhere)
Examples:Code:uniform float time: Ever-incrementing value uniform vec2 resolution: The resolution of the window uniform vec2 mouse: The x,y of the position of your mouse radians degrees sin cos tan asin acos atan pow exp log exp2 log2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not dFdx dFdy fwidth texture2D texture2DProj texture2DLod texture2DProjLod textureCube textureCubeLod To write to the screen: gl_FragColor = vec4(r ,g ,b ,1.0);
Parallax Perlin Noise shader, by me
http://glsl.heroku.com/e#1000.2
I will add examples made by facepunchers over time here
Challenge: recreate the facepunch logo!
I would appreciate if anyone could create a banner for me since I suck at making them
Link:
http://glsl.heroku.com/

Register
Events
Popular
More
Post #1





Programming King x 4
Winner x 3


Agree x 3

Funny x 7
Artistic x 1


Dumb x 3
Friendly x 1
Disagree x 1


Optimistic x 1