[client] egl: clean up splash background shader

This commit is contained in:
Quantum 2021-08-03 00:44:57 -04:00 committed by Geoffrey McRae
parent a25c93b28e
commit dd31a7ef93
2 changed files with 2 additions and 3 deletions

View File

@ -7,6 +7,6 @@ uniform sampler2D sampler1;
void main() void main()
{ {
highp float d = 1.0 - sqrt(pos.x * pos.x + pos.y * pos.y) / 2.0; highp float d = 1.0 - 0.5 * length(pos.xy);
color = vec4(0.234375 * d, 0.015625f * d, 0.425781f * d, 1); color = vec4(0.234375 * d, 0.015625 * d, 0.425781 * d, 1.0);
} }

View File

@ -3,7 +3,6 @@
layout(location = 0) in vec3 vertexPosition_modelspace; layout(location = 0) in vec3 vertexPosition_modelspace;
out highp vec3 pos; out highp vec3 pos;
out highp float a;
void main() void main()
{ {