summaryrefslogtreecommitdiff
path: root/slideshow/opengl/rippleFragmentShader.glsl
AgeCommit message (Collapse)Author
2016-01-05slideshow: Improve the Ripple transition to match PowerPoint betterEmmanuel Gil Peyrot
Change-Id: I0b8a78fc6bce5cb737cc7070b1b69184c5f6991c
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-11-06Add a 'Ripple' transitionTor Lillqvist
Change-Id: I18efe35c299bc3a4a2a5e449021323fc1f53f378