From: MirceaKitsune Date: Sun, 29 Jan 2012 13:39:26 +0000 (+0200) Subject: Cubemap reflections for Ruiner walls X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=98de839bd7251e955b5483996b8cc7ba7e1b74c1;p=voretournament%2Fvoretournament.git Cubemap reflections for Ruiner walls --- diff --git a/data/scripts/rustymetal_tex.shader b/data/scripts/rustymetal_tex.shader new file mode 100644 index 00000000..8993e27c --- /dev/null +++ b/data/scripts/rustymetal_tex.shader @@ -0,0 +1,69 @@ +textures/rustymetal_tex/wall01 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/rustymetal_tex/wall01 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/rustymetal_tex/wall02 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/rustymetal_tex/wall02 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/rustymetal_tex/wall03 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/rustymetal_tex/wall03 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/rustymetal_tex/wall04 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/rustymetal_tex/wall04 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/rustymetal_tex/wall05 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/rustymetal_tex/wall05 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} \ No newline at end of file diff --git a/data/scripts/shaderlist.txt b/data/scripts/shaderlist.txt index 6b542c33..6abad906 100644 --- a/data/scripts/shaderlist.txt +++ b/data/scripts/shaderlist.txt @@ -82,6 +82,7 @@ race racetrack reaper ruiner +rustymetal_tex savdm6ish sav-graysky1 sav-liquids diff --git a/data/textures/rustymetal_tex/wall01_reflect.TGA b/data/textures/rustymetal_tex/wall01_reflect.TGA new file mode 100644 index 00000000..8e436a29 Binary files /dev/null and b/data/textures/rustymetal_tex/wall01_reflect.TGA differ diff --git a/data/textures/rustymetal_tex/wall02_reflect.TGA b/data/textures/rustymetal_tex/wall02_reflect.TGA new file mode 100644 index 00000000..2768dc8c Binary files /dev/null and b/data/textures/rustymetal_tex/wall02_reflect.TGA differ diff --git a/data/textures/rustymetal_tex/wall03_reflect.TGA b/data/textures/rustymetal_tex/wall03_reflect.TGA new file mode 100644 index 00000000..1560ec5e Binary files /dev/null and b/data/textures/rustymetal_tex/wall03_reflect.TGA differ diff --git a/data/textures/rustymetal_tex/wall04_reflect.TGA b/data/textures/rustymetal_tex/wall04_reflect.TGA new file mode 100644 index 00000000..39a382eb Binary files /dev/null and b/data/textures/rustymetal_tex/wall04_reflect.TGA differ diff --git a/data/textures/rustymetal_tex/wall05_reflect.TGA b/data/textures/rustymetal_tex/wall05_reflect.TGA new file mode 100644 index 00000000..85f88a5d Binary files /dev/null and b/data/textures/rustymetal_tex/wall05_reflect.TGA differ