share/hedgewars/Data/Shaders/water.fs
author unc0rr
Sun, 07 Jan 2018 01:21:42 +0100
branchqmlfrontend
changeset 12883 adb1fccc706a
parent 11795 2028bd2a6c5b
permissions -rw-r--r--
- ResizeWindow function to pass engine new window size - Remove TabBar to leave more space at the bottom of the screen - ifdef GL_ES in shaders
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12883
adb1fccc706a - ResizeWindow function to pass engine new window size
unc0rr
parents: 11795
diff changeset
     1
#ifdef GL_ES
11795
2028bd2a6c5b Set medium floating precision to shaders
frd
parents: 11317
diff changeset
     2
precision mediump float;
12883
adb1fccc706a - ResizeWindow function to pass engine new window size
unc0rr
parents: 11795
diff changeset
     3
#endif
8334
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
varying vec4 vcolor;
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
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
     8
void main()
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
     9
{
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
    10
    gl_FragColor = vcolor;
abb48dd39e26 Added shaders and -GL2 option
Michael Hartman <omh1280@gmail.com>
parents:
diff changeset
    11
}