Adding debug color of the region

This commit is contained in:
samcake 2018-02-28 17:59:59 -08:00
parent b1b539e07a
commit 94fa2ef6a0

View file

@ -87,5 +87,5 @@ void main(void) {
int region = floatBitsToInt(proxy.region.x);
region = (0x000000FF & region);
varColor = vec4(float(region) / 4.0, proxy.sphere.w);
varColor = vec4(colorWheel(float(region) / 4.0), proxy.sphere.w);
}