Skip to content

Instantly share code, notes, and snippets.

@baffo32
baffo32 / rolling_sphere.txt
Created August 29, 2016 12:37
Rolling Sphere
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
uniform vec2 resolution;
#define FTIME_PERIOD 16.0
uniform float ftime;
uniform float subsecond;