summaryrefslogtreecommitdiff
path: root/media/opengl.frag
diff options
context:
space:
mode:
authorMirrorbot <mirrorbot@cogarr.net>2025-12-27 17:53:06 -0600
committerMirrorbot <mirrorbot@cogarr.net>2025-12-27 17:53:06 -0600
commit71e94ee161447b84c0eaabf6567f8fa62262cd3e (patch)
tree391064cc6173a6fe75069af2fdc1978af12f623e /media/opengl.frag
downloadirrlicht-master.tar.gz
irrlicht-master.tar.bz2
irrlicht-master.zip
Inital commitHEADmaster
Diffstat (limited to 'media/opengl.frag')
-rw-r--r--media/opengl.frag9
1 files changed, 9 insertions, 0 deletions
diff --git a/media/opengl.frag b/media/opengl.frag
new file mode 100644
index 0000000..82c3d5c
--- /dev/null
+++ b/media/opengl.frag
@@ -0,0 +1,9 @@
+
+uniform sampler2D myTexture;
+
+void main (void)
+{
+ vec4 col = texture2D(myTexture, vec2(gl_TexCoord[0]));
+ col *= gl_Color;
+ gl_FragColor = col * 4.0;
+}