share/hedgewars/Data/Shaders/water.fs
author koda
Tue, 02 Jun 2015 01:28:21 +0100
changeset 10972 bba0f1b7ebbc
parent 8334 abb48dd39e26
child 11317 62287d4044e7
permissions -rw-r--r--
Fix retina rendering on OSX This does not actually improve any graphics, but at least OSX native GUI elements won't look pixellated any more.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8334
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
     1
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
     2
varying vec4 vcolor;
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
     3
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
     4
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
     5
void main()
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
     6
{
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
     7
    gl_FragColor = vcolor;
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
     8
}