https://github.com/NSchertler/GeneralizedMotorcycleGraph
Tip revision: a34738fe34a051760b4042dc9d740231e511fec1 authored by Nico Schertler on 31 October 2020, 07:04:57 UTC
Updated access token
Updated access token
Tip revision: a34738f
clear.frag
#version 330
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;
}