]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
shader to reference the correct nexball texture path, finally works! add a reflectmap...
authorFruitieX <fruitiex@gmail.com>
Sun, 7 Nov 2010 14:51:44 +0000 (16:51 +0200)
committerFruitieX <fruitiex@gmail.com>
Sun, 7 Nov 2010 14:51:44 +0000 (16:51 +0200)
scripts/nexball.shader [new file with mode: 0644]
textures/nexball/ball_reflect.tga [new file with mode: 0644]

diff --git a/scripts/nexball.shader b/scripts/nexball.shader
new file mode 100644 (file)
index 0000000..6bf4793
--- /dev/null
@@ -0,0 +1,8 @@
+nexball/ball
+{
+       dpreflectcube cubemaps/default/sky
+       {
+               map textures/nexball/ball.tga
+               rgbgen lightingDiffuse
+       }
+}
diff --git a/textures/nexball/ball_reflect.tga b/textures/nexball/ball_reflect.tga
new file mode 100644 (file)
index 0000000..9c39e18
Binary files /dev/null and b/textures/nexball/ball_reflect.tga differ