diff options
Diffstat (limited to 'o3d/compiler/glsl_validator/shaders/san-angeles-fade.vert')
-rw-r--r-- | o3d/compiler/glsl_validator/shaders/san-angeles-fade.vert | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/o3d/compiler/glsl_validator/shaders/san-angeles-fade.vert b/o3d/compiler/glsl_validator/shaders/san-angeles-fade.vert new file mode 100644 index 0000000..d2676ee42 --- /dev/null +++ b/o3d/compiler/glsl_validator/shaders/san-angeles-fade.vert @@ -0,0 +1,10 @@ +attribute vec2 pos; + +varying vec4 color; + +uniform float minFade; + +void main() { + color = vec4(minFade, minFade, minFade, 1.); + gl_Position = vec4(pos, 0., 1.); +} |