From: Morphed Date: Wed, 6 Apr 2011 01:55:20 +0000 (+0200) Subject: reflection for cockpit texture X-Git-Tag: xonotic-v0.5.0~199^2~11^2~75^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ea816ecd98cd36721d18a2d06c8ca0627a06e497;p=xonotic%2Fxonotic-data.pk3dir.git reflection for cockpit texture --- diff --git a/scripts/vehicles.shader b/scripts/vehicles.shader index b8f0b0ca8..9ef9f1940 100644 --- a/scripts/vehicles.shader +++ b/scripts/vehicles.shader @@ -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 diff --git a/scripts/vrockets.shader b/scripts/vrockets.shader index aa17a993b..4425994f2 100644 --- a/scripts/vrockets.shader +++ b/scripts/vrockets.shader @@ -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 index 000000000..422b5bd70 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 index 000000000..ea39a453b Binary files /dev/null and b/textures/cockpit_reflect.tga differ