fix v1 procedural shaders

This commit is contained in:
Brad Hefta-Gaub 2016-06-16 08:14:31 -07:00
parent 3525498550
commit 5dae20975a

View file

@ -264,12 +264,18 @@ float snoise(vec2 v) {
return 130.0 * dot(m, g);
}
#define PROCEDURAL 1
//PROCEDURAL_VERSION
#ifdef PROCEDURAL_V1
// shader playback time (in seconds)
uniform float iGlobalTime;
// the dimensions of the object being rendered
uniform vec3 iWorldScale;
#else
// Unimplemented uniforms