Commit graph

5 commits

Author SHA1 Message Date
Struma
94c031b095 Revert to using GL compatibility contexts (and GLES2) 2020-11-16 21:56:19 -05:00
Struma
827e20db87 Use Core GL context, allow OpenGL3/4 on macOS 2020-02-24 22:29:36 -05:00
Jonas Kulla
a53163660f Shader: Refine preprocessing on GLES platform
Don't globally set float precision to mediump, only fragment
shaders need that and defining it for vertex shaders causes
tilemap cracks.

Also manually define low precision for variables that hold
color / alpha values.
2014-12-31 18:52:19 +01:00
Jonas Kulla
6b2c892280 Simplify shader 2013-09-23 14:12:11 +02:00
Jonas Kulla
7a6c05bba0 Implement animated flash tiles in Tilemap
Flash tiles start with an alpha of 60, which ramps up to 120
in 16 frames and 4 steps, then ramps down again over the same period.
2013-09-23 08:27:28 +02:00