mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
Merge pull request #8085 from ZappoMan/fixShaders
fix v1 procedural shaders
This commit is contained in:
commit
d7cd82a24e
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue