1
0

Avoid warning and make local variable lower-case.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6000 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien
2019-12-12 16:32:41 +00:00
commit 8310a3fbad
1909 changed files with 607639 additions and 0 deletions

17
media/pp_opengl.frag Normal file
View File

@@ -0,0 +1,17 @@
// Texture sampler
uniform sampler2D TextureSampler;
// TexCoords from vertex shader
varying vec2 TexCoords;
void main (void)
{
// Texture is sampled at Texcoords using texture2D
vec4 Color = texture2D(TextureSampler, TexCoords);
// Inverse the color to produce negative image effect
Color.rgb = 1.0 - Color.rgb;
gl_FragColor = Color;
}