Commit Graph

4 Commits

Author SHA1 Message Date
Markus Mohrhard
249c5e0f21 replace all attribute and varying in chart shaders
Next step to a pure OpenGL 3.2 core context.

Change-Id: Ifcfccd9ffc8adcc3b7338e10cb25aeb8496909a3
2014-09-02 01:08:42 +02:00
Markus Mohrhard
fbddfdeccc we need to switch to OpenGL 3.2 core for OSX
A 3.2 core context only supports GLSL 150 core and above. This at least
removes all vompile errors related to missing or wrong version
requirements. In a next step we need to make use of modern GLSL features
now.

Change-Id: I59f1bc84ab4f64cc6520309b7da25adc3e116997
2014-09-02 01:08:42 +02:00
Markus Mohrhard
653ace96c6 make sure that all shaders contain a version string
This is necessary for OSX where we are using a core context that does
not implement any legacy features anymore.

Change-Id: I59536e99761691d910fef62cf82ceb03e57725ae
2014-09-02 01:08:42 +02:00
Markus Mohrhard
36943e981b initial work on screen text
Screen text is positioned in screen coordinates and therefore in 2D.
This means it will not move with the camera.

Change-Id: I3cf2e8859871ebc8034396b4c2d6f1ff9fe5d9f6
2014-05-26 03:29:07 +02:00