]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Shaders for the new textures
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 22 Jul 2011 12:48:58 +0000 (15:48 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 22 Jul 2011 12:48:58 +0000 (15:48 +0300)
data/scripts/race.shader [new file with mode: 0644]
data/scripts/racetrack.shader [new file with mode: 0644]
data/scripts/shaderlist.txt

diff --git a/data/scripts/race.shader b/data/scripts/race.shader
new file mode 100644 (file)
index 0000000..44dda60
--- /dev/null
@@ -0,0 +1,11 @@
+models/race/checkpoint/light\r
+{\r
+ q3map_surfaceLight 800\r
+\r
+\r
+ {\r
+       map models/race/checkpoint/light.tga\r
+       tcMod scroll 22.5 0.2\r
+       tcmod scale 0.003 0.003\r
+ }\r
+}
\ No newline at end of file
diff --git a/data/scripts/racetrack.shader b/data/scripts/racetrack.shader
new file mode 100644 (file)
index 0000000..d5859ef
--- /dev/null
@@ -0,0 +1,103 @@
+race/cliff\r
+{\r
+        qer_editorimage textures/race/cliff02.tga\r
+       \r
+       q3map_nonplanar\r
+       q3map_shadeangle 120\r
+       q3map_globalTexture\r
+       q3map_lightmapsampleoffset 10\r
+       q3map_alphaMod dotproduct2 ( 0 0 0.80 )\r
+       {\r
+               map textures/race/cliff02.tga   // Primary\r
+               tcmod scale 2 2\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/race/ground.tga    // Secondary\r
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
+               tcmod scale 2 2\r
+               rgbGen identity\r
+               alphaGen vertex\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/race/track02\r
+{\r
+ qer_editorimage textures/race/track02.tga\r
+               {\r
+               map $lightmap\r
+               rgbGen identity\r
+           }\r
+\r
+ {\r
+       map textures/race/track02.tga\r
+ }\r
+}\r
+\r
+\r
+textures/race/tunel01\r
+{\r
+ qer_editorimage textures/race/tunel01.tga\r
+               {\r
+               map $lightmap\r
+               rgbGen identity\r
+           }\r
+ {\r
+       map textures/race/tunel01.tga\r
+ }\r
+}\r
+\r
+race/clouds1\r
+{\r
+qer_editorimage textures/race/cloud1.tga\r
+ {\r
+       map textures/race/cloud1.tga\r
+       tcMod scroll 0.03 0\r
+       blendfunc blend\r
+ }\r
+}\r
+race/clouds2\r
+{\r
+qer_editorimage textures/race/cloud2.tga\r
+ {\r
+       map textures/race/cloud2.tga\r
+       tcMod scroll 0.021 0\r
+       blendfunc blend\r
+ }\r
+}\r
+race/clouds3\r
+{\r
+qer_editorimage textures/race/cloud3.tga\r
+ {\r
+       map textures/race/cloud3.tga\r
+       tcMod scroll 0.011 0\r
+       blendfunc blend\r
+ }\r
+}\r
+\r
+race/arrow\r
+{\r
+qer_editorimage textures/race/arrow.tga\r
+ {\r
+       map textures/race/arrow.tga\r
+       tcMod scroll 0 2\r
+       blendfunc add\r
+ }\r
+}\r
+\r
+textures/race/nicesky\r
+{\r
+       qer_editorimage env/med-troubadour-gray/med-troubadour-gray_up.tga\r
+       surfaceparm noimpact\r
+       surfaceparm nolightmap\r
+       surfaceparm sky\r
+       surfaceparm nomarks\r
+       q3map_sunExt .5 .5 .7 100 0 86 3 16\r
+       q3map_skylight 150 3\r
+       skyparms env/med-troubadour-gray/med-troubadour-gray - -\r
+}
\ No newline at end of file
index beee549e5465bafa102d030a14d9834feeb8007d..19c39cbd728c60cae491020d833aefafd1922eb8 100644 (file)
@@ -36,6 +36,8 @@ sky_planets
 nexdm18_rmx\r
 official_cmp1\r
 onslaught\r
+race\r
+racetrack\r
 reaper\r
 ruiner\r
 savdm6ish\r