Tag Search: Shaders

GPU Particles
, , , , , , ,

A particle engine written in WebGL that uses shaders to process all particle motion. 200,000 particles are simulated in the browser. 8 shaders provide different animation modes that can be accessed via the number keys.

View Project

GPUParticles01 GPUParticles03 GPUParticles02 GPUParticles04 GPUParticles05 GPUParticles06 GPUParticles07

Procedural Planets
, , ,

Written in WebGL using three.js. Planet, nebulae, and stars are all generated procedurally using shaders. Textures are generated for a height map, moisture map, texture map, normal map, and roughness map. A biome lookup image is generated to control the distribution of colors. Unique names are generated and used as the random seed, which is then added to the URL string. If you find a cool planet, you can just share the link, and the planet you made will be shared.

View Project

Planet24 Planet22 Planet21 Planet20 Planet19 Planet18 Planet16 Planet15 Planet14 Planet13 Planet12 Planet11 Planet10 Planet09 Planet08 Planet07 Planet05 Planet04 Planet03 Planet02 Planet01

Vertex Oscillation Shader
, , ,

Layering a few oscillations can produce dramatic effects. This project uses vertex and fragment shaders written in GLSL with a custom Three.js shader. We begin with a sphere and then send multiple compound waves through each axis via a vertex shader. The fragment shader then uses the offset values to map a color to each vertex. This demo give you control over each modulation wave an the colors used to represent the offsets.

View Experiment

VertexOsc4 VertexOsc6 VertexOsc1 VertexOsc2 VertexOsc3