summaryrefslogtreecommitdiff
path: root/slideshow/opengl/staticFragmentShader.glsl
AgeCommit message (Collapse)Author
2015-11-07Improve transition shader portabilityTor Lillqvist
Use #version 120 explicitly, and adapt the shader shader code accordingly, to use strictly only GLSL 1.20 constructs. Also, use less vertex attribute data in the Vortex vertex shader: We can pack the per-vertex tile x and y index and in-tile vertex index information into one float. Also, the shader can calculate the center of the tile a vertex belongs to based on the knowledge of which tile it is. Now the shader transitions work on OS X, too. Change-Id: I93e8b5069a6d06d2e412ffee322b1eb32805e606
2015-10-26Bin dead codeTor Lillqvist
We already have an if statement for (time < PART) right above. Change-Id: I43b817dd6d0a11be4ed51a5bd378806447abf69c
2014-08-13remove useless OGL transition shader codeMarkus Mohrhard
Change-Id: I8930aab2b4d3fd00916f12b86fa06b5e011542ac