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

Transitions are off by default.

runnable fragment

Frag Sphere

webgl-shader-examples sdf 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;

// Common varyings
varying vec3 v_position;
varying vec3 v_normal;

/*
 *  Calculates the normal vector at the given position
webglvisualeffectwebcontentfrag
source