Draw a radial. This needs some cleanup, and some MVP matrix tweaking.

This commit is contained in:
Dan Paulat 2021-07-15 22:32:53 -05:00
parent ace3aeb460
commit 516983ab09
10 changed files with 506 additions and 4 deletions

13
scwx-qt/gl/radar.frag Normal file
View file

@ -0,0 +1,13 @@
#version 330 core
// Lower the default precision to medium
precision mediump float;
uniform sampler2D uTexture;
in vec2 texCoord;
void main()
{
gl_FragColor = vec4(1.0f, 0.0f, 0.0f, 1.0f);
}