Stronghold
Fonts Gradients Palettes Icons Images soon Patterns soon Audio soon Shaders
Admin
Browse 2 Sources
Types 1/8

Transitions are off by default.

runnable fragment

Frag Fire

webgl-shader-examples material glsl runnable fragment LGPL-3.0
code snippet
precision mediump float;
#define GLSLIFY 1
// Common uniforms
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
uniform float u_frame;

// Texture uniforms
uniform sampler2D u_texture;

// Texture varyings
varying vec2 v_uv;
webglvisualeffectwebcontentfrag
source
runnable fragment

Frag Rain

webgl-shader-examples material glsl runnable fragment LGPL-3.0
code snippet
precision mediump float;
#define GLSLIFY 1
#define PI 3.14159265

// Common uniforms
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
uniform float u_frame;

/*
 * Random number generator with a float seed
 *
 * Credits:
webglvisualeffectwebcontentfrag
source