16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 13:59:19 +02:00

use vr hiddenarea mask

This commit is contained in:
milek7
2020-11-18 22:18:28 +01:00
parent 8889872f39
commit 79b0216b55
7 changed files with 82 additions and 7 deletions

6
shaders/hiddenarea.vert Normal file
View File

@@ -0,0 +1,6 @@
layout(location = 0) in vec3 v_vert;
void main()
{
gl_Position = vec4(v_vert.xy * 2.0f - 1.0f, 0.5f, 1.0f);
}