16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 11:39:19 +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

@@ -12,5 +12,7 @@ void main()
{
vec4 tex_color = texture(tex1, f_coord);
gl_FragData[0] = tex_color * param[0];
#ifdef MOTIONBLUR_ENABLED
gl_FragData[1] = vec4(0.0f);
#endif
}