From 577cd77e2be089a1bf2284e33e9b07fc36a4320b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 24 Dec 2009 12:14:51 +0100 Subject: Some optimizations --- shader/null.frag | 3 +++ shader/null.vert | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 shader/null.frag create mode 100644 shader/null.vert (limited to 'shader') diff --git a/shader/null.frag b/shader/null.frag new file mode 100644 index 0000000..4238b22 --- /dev/null +++ b/shader/null.frag @@ -0,0 +1,3 @@ +void main() { + gl_FragColor = vec4(0, 0, 0, 1); +} diff --git a/shader/null.vert b/shader/null.vert new file mode 100644 index 0000000..fab2170 --- /dev/null +++ b/shader/null.vert @@ -0,0 +1,3 @@ +void main() { + gl_Position = ftransform(); +} -- cgit v1.2.3