]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
reflection for cockpit texture
authorMorphed <Morphed@o2.pl>
Wed, 6 Apr 2011 01:55:20 +0000 (03:55 +0200)
committerMorphed <Morphed@o2.pl>
Wed, 6 Apr 2011 01:55:20 +0000 (03:55 +0200)
scripts/vehicles.shader
scripts/vrockets.shader
textures/cockpit_gloss.tga [new file with mode: 0644]
textures/cockpit_reflect.tga [new file with mode: 0644]

index b8f0b0ca88b1a309e745be6b5b0f42ac07fc05ee..9ef9f1940ffbbf425084bc5017c2e08b9eee2581 100644 (file)
@@ -13,4 +13,12 @@ wakazachi
                map textures/wakazachi.tga
                rgbgen lightingDiffuse
        }
+}
+cockpit
+{
+       dpreflectcube cubemaps/default/sky
+       {
+               map textures/cockpit.tga
+               rgbgen lightingDiffuse
+       }
 }
\ No newline at end of file
index aa17a993b71f9b894a98a171eaaeefcfcd13c903..4425994f2e3afde468e04f9ac036f6c4df8d85b6 100644 (file)
@@ -1,4 +1,12 @@
 models/vehicles/rockets
+{
+       dpreflectcube cubemaps/default/sky
+       {
+               map models/vehicles/rockets.tga
+               rgbgen lightingDiffuse
+       }
+}
+rockets
 {
        dpreflectcube cubemaps/default/sky
        {
diff --git a/textures/cockpit_gloss.tga b/textures/cockpit_gloss.tga
new file mode 100644 (file)
index 0000000..422b5bd
Binary files /dev/null and b/textures/cockpit_gloss.tga differ
diff --git a/textures/cockpit_reflect.tga b/textures/cockpit_reflect.tga
new file mode 100644 (file)
index 0000000..ea39a45
Binary files /dev/null and b/textures/cockpit_reflect.tga differ