Add a cubemap reflection to the grabber model, in addition to gloss. Makes it much...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 8 Jul 2011 17:54:02 +0000 (20:54 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 8 Jul 2011 17:54:02 +0000 (20:54 +0300)
data/scripts/shaderlist.txt
data/scripts/weapons.shader [new file with mode: 0644]
data/textures/grabber_reflect.tga [new file with mode: 0644]

index d9110a66ac29d36493a363a9fea112b9d683effb..6c9ed6cdc5a2fc0213ad0227c12f25f4f8a28a63 100644 (file)
@@ -70,3 +70,4 @@ greatwall_overloaded-ter
 greatwall_revisited\r
 brokenworld\r
 warpzone\r
+weapons\r
diff --git a/data/scripts/weapons.shader b/data/scripts/weapons.shader
new file mode 100644 (file)
index 0000000..f733615
--- /dev/null
@@ -0,0 +1,8 @@
+textures/grabber\r
+{\r
+       dpreflectcube cubemaps/default/sky\r
+       {\r
+               map textures/grabber.tga\r
+               rgbgen lightingDiffuse\r
+       }\r
+}
\ No newline at end of file
diff --git a/data/textures/grabber_reflect.tga b/data/textures/grabber_reflect.tga
new file mode 100644 (file)
index 0000000..54b55f8
Binary files /dev/null and b/data/textures/grabber_reflect.tga differ