summaryrefslogtreecommitdiffstats
path: root/progs/glsl/toyball.shtest
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-13 12:52:13 -0600
committerBrian Paul <[email protected]>2009-08-13 12:52:13 -0600
commitae99e4c67ebc3adb0b71e427723f34085801c3ac (patch)
treeaf58f9b6a8adcf9bed2ed6effd548c8c884ae10d /progs/glsl/toyball.shtest
parent03ba461c1956a466f1c6cb885d208b7a7ac4b4fe (diff)
progs/glsl: new shtest program, a simple shader test harness app
This commit includes some sample config files (*.shtest)
Diffstat (limited to 'progs/glsl/toyball.shtest')
-rw-r--r--progs/glsl/toyball.shtest17
1 files changed, 17 insertions, 0 deletions
diff --git a/progs/glsl/toyball.shtest b/progs/glsl/toyball.shtest
new file mode 100644
index 00000000000..2852ab043ea
--- /dev/null
+++ b/progs/glsl/toyball.shtest
@@ -0,0 +1,17 @@
+vs CH11-toyball.vert
+fs CH11-toyball.frag
+uniform LightDir 0.57737 0.57735 0.57735 0.0
+uniform HVector 0.32506 0.32506 0.88808 0.0
+uniform BallCenter 0.0 0.0 0.0 1.0
+uniform SpecularColor 0.4 0.4 0.4 60.0
+uniform Red 0.6 0.0 0.0 1.0
+uniform Blue 0.0 0.3 0.6 1.0
+uniform Yellow 0.6 0.5 0.0 1.0
+uniform HalfSpace0 1.0 0.0 0.0 0.2
+uniform HalfSpace1 .309016994 0.951056516 0.0 0.2
+uniform HalfSpace2 -0.809016994 0.587785252 0.0 0.2
+uniform HalfSpace3 -0.809016994 -0.587785252 0.0 0.2
+uniform HalfSpace4 .309116994 -0.951056516 0.0 0.2
+uniform InOrOutInit -3.0
+uniform StripeWidth 0.3
+uniform FWidth .005