Revision f8c1c6834e3c7da57d0cae114735f1cf643b0498 authored by Nico Schertler on 09 July 2018, 14:15:39 UTC, committed by Nico Schertler on 09 July 2018, 14:15:39 UTC
1 parent 722a9f4
clear.frag
#version 330 compatibility
layout(location=0) out vec4 color;
layout(location=1) out int id;
in vec4 clipPos;
void main()
{
float t = (clipPos.y + 1) / 2;
color = (1 - t) * vec4(0.1, 0.1f, 0.3f, 1.00) + t * vec4(0.5, 0.6, 0.8, 1.0);
id = -1;
}
Computing file changes ...