shader tweaks

This commit is contained in:
2020-03-10 18:45:12 -04:00
parent 63692ced17
commit fd51590a8c
4 changed files with 23 additions and 3 deletions

View File

@@ -31,6 +31,7 @@ void main() {
for (int i = 0; i < SUBS; i++) {
vpos = mix(gpos[0], gpos[1], i * 1.0f / (SUBS - 1));
vpos = normalize(vpos);
gl_Position = proj * stereo(vpos);
EmitVertex();
}