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

alpha changes, mouse cursor changes, other changes

This commit is contained in:
milek7
2018-07-19 15:35:05 +02:00
parent 13c7561549
commit 8cac3d4cc9
11 changed files with 192 additions and 75 deletions

View File

@@ -2,7 +2,7 @@
#include <common>
in vec3 f_normal;
flat in vec3 f_normal_raw;
void main()
{
@@ -13,5 +13,5 @@ void main()
discard;
// color data is shared with normals, ugh
gl_FragColor = vec4(f_normal, 1.0f);
gl_FragColor = vec4(f_normal_raw.bgr, 1.0f);
}