16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 12:49:18 +02:00

configurable renderer

This commit is contained in:
milek7
2018-07-25 12:14:55 +02:00
parent dfe48d72a4
commit da429650ab
20 changed files with 300 additions and 190 deletions

View File

@@ -7,5 +7,7 @@ in vec3 f_color;
void main()
{
gl_FragData[0] = vec4(f_color, 1.0f);
#ifdef MOTIONBLUR_ENABLED
gl_FragData[1] = vec4(0.0f);
#endif
}