mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 22:13:40 +00:00
13 lines
216 B
GLSL
13 lines
216 B
GLSL
#version 300 es
|
|
|
|
in highp vec3 pos;
|
|
out highp vec4 color;
|
|
|
|
uniform sampler2D sampler1;
|
|
|
|
void main()
|
|
{
|
|
highp float d = 1.0 - 0.5 * length(pos.xy);
|
|
color = vec4(0.234375 * d, 0.015625 * d, 0.425781 * d, 1.0);
|
|
}
|