]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Greatwall revisited shader
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 20 Sep 2010 17:00:51 +0000 (20:00 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 20 Sep 2010 17:00:51 +0000 (20:00 +0300)
data/scripts/greatwall_revisited.shader [new file with mode: 0644]
data/scripts/shaderlist.txt

diff --git a/data/scripts/greatwall_revisited.shader b/data/scripts/greatwall_revisited.shader
new file mode 100644 (file)
index 0000000..1e2cd71
--- /dev/null
@@ -0,0 +1,363 @@
+textures/gw_rev/sky
+{
+       qer_editorimage env/exosystem/exosystem_up.tga
+
+       surfaceparm nolightmap
+       surfaceparm noimpact
+       surfaceparm nomarks
+       surfaceparm sky
+
+       skyparms env/exosystem/exosystem - -
+       q3map_surfacelight 200
+       q3map_lightimage textures/exosystem/exosystem_up.tga
+       q3map_sun .8 .7 0.2 100 60 45
+}
+
+textures/gw_rev/dp2terrain
+{
+       qer_editorimage textures/terrain_dotproduct2/grass01-rock05
+       q3map_globalTexture
+       q3map_nonplanar
+       q3map_shadeangle 90
+       q3map_lightmapSampleOffset 10
+       surfaceparm dust
+       q3map_alphaMod dotproduct2 ( 0.0 0.0 0.9 )
+
+       {
+               map textures/gw_rev/rock.tga    // Primary
+               tcMod scale 10 10
+       }
+
+       {
+               map textures/gw_rev/grass.tga   // Secondary
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+               alphaGen vertex
+               tcMod scale 10 10
+       }
+
+       {
+               map $lightmap
+               blendFunc GL_DST_COLOR GL_ZERO
+       }
+}
+
+textures/gw_rev/dp2detail
+{
+       qer_editorimage textures/terrain_data/rock05.tga
+       q3map_globalTexture
+       q3map_nonplanar
+       q3map_shadeangle 90
+       surfaceparm dust
+       q3map_alphaMod dotproduct2 ( 0.0 0.0 0.9 )
+
+       {
+               map textures/gw_rev/rock.tga
+       }
+
+       {
+               map textures/gw_rev/grass.tga
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+               alphaGen vertex
+       }
+
+       {
+               map $lightmap
+               blendFunc GL_DST_COLOR GL_ZERO
+       }
+}
+
+textures/gw_rev/baum1
+{
+       cull none
+       qer_editorimage textures/gw_rev/baum1.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/baum1.tga
+               rgbGen identity
+               
+       }
+}
+
+textures/gw_rev/border
+{
+       cull none
+       qer_editorimage textures/gw_rev/border.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/border.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/baum2d1
+{
+       deformVertexes autosprite2
+       cull none
+       qer_editorimage textures/gw_rev/baum2d1.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/baum2d1.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/baum2d2
+{
+       deformVertexes autosprite2
+       cull none
+       qer_editorimage textures/gw_rev/baum2d2.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/baum2d2.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/baum2d3
+{
+       deformVertexes autosprite2
+       cull none
+       qer_editorimage textures/gw_rev/baum2d3.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/baum2d3.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/birke2d1
+{
+       deformVertexes autosprite2
+       cull none
+       qer_editorimage textures/gw_rev/birke2d1.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/birke2d1.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/birke2d2
+{
+       deformVertexes autosprite2
+       cull none
+       qer_editorimage textures/gw_rev/birke2d2.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/birke2d2.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/pine1
+{
+       deformVertexes autosprite2
+       cull none
+       qer_editorimage textures/gw_rev/pine1.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/pine1.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/pine2
+{
+       deformVertexes autosprite2
+       cull none
+       qer_editorimage textures/gw_rev/pine2.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/pine2.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/pine3
+{
+       deformVertexes autosprite2
+       cull none
+       qer_editorimage textures/gw_rev/pine3.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/pine3.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/grasstex
+{
+       cull none
+       qer_editorimage textures/gw_rev/grasstex.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/grasstex.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/grass2d1
+{
+       cull none
+       deformVertexes autosprite2
+       qer_editorimage textures/gw_rev/grass2d1.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/grass2d1.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/grass2d2
+{
+       cull none
+       deformVertexes autosprite2
+       qer_editorimage textures/gw_rev/grass2d2.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/grass2d2.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/grass2d3
+{
+       cull none
+       deformVertexes autosprite2
+       qer_editorimage textures/gw_rev/grass2d3.tga
+       qer_trans 0.6
+       surfaceparm trans
+       surfaceparm alphashadow
+       surfaceparm nonsolid
+       {
+               map $lightmap
+               alphaFunc GT0
+               rgbGen identity
+       }
+       {
+               map textures/gw_rev/grass2d3.tga
+               rgbGen identity
+       }
+}
+
+textures/gw_rev/lava1
+{
+       qer_editorimage textures/gw_rev/lava1.tga
+       //qer_nocarve
+       qer_trans 0.5
+       surfaceparm noimpact
+       surfaceparm lava
+       surfaceparm nolightmap
+       surfaceparm trans
+       q3map_surfacelight 1000
+       cull disable
+       deformVertexes wave 140.0 sin 2 8 0.25 0.1
+       Q3map_TessSize 128
+       {
+               blendfunc add
+               map textures/gw_rev/lava1.tga
+               rgbGen identity
+       }
+}
index 367699025062d6e2e4e2f40b3b0f6bff47dc6895..4d3dd972e2486bb228e0a860e0112000890078c6 100644 (file)
@@ -67,3 +67,4 @@ gasolinepowered
 ab\r
 greatwall_overloaded\r
 greatwall_overloaded-ter\r
+greatwall_revisited\r