]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Fix common.shader. Did a foolish mistake there in the past
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 24 Sep 2010 17:17:48 +0000 (20:17 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 24 Sep 2010 17:17:48 +0000 (20:17 +0300)
data/scripts/common.shader

index 29b8f6d76f3403e1ebad37baeb8ad5756fd342e0..bbca1784fcc26f4454286bfc9d92badc07dc655f 100644 (file)
@@ -9,6 +9,18 @@ textures/common/antiportal
        surfaceparm antiportal
 }
 
+textures/common/areaportal
+{
+       qer_trans 0.50
+       surfaceparm nodraw
+       surfaceparm nolightmap
+       surfaceparm nonsolid
+       surfaceparm structural
+       surfaceparm trans
+       surfaceparm nomarks
+       surfaceparm areaportal
+}
+
 textures/common/caulk
 {
        surfaceparm nodraw
@@ -36,6 +48,28 @@ textures/common/clip
        surfaceparm playerclip
 }
 
+textures/common/clusterportal
+{
+       qer_trans 0.50
+       surfaceparm nodraw
+       surfaceparm nolightmap
+       surfaceparm nonsolid
+       surfaceparm trans
+       surfaceparm nomarks
+       surfaceparm clusterportal
+}
+
+textures/common/cushion
+{
+       qer_nocarve
+       qer_trans 0.50
+       surfaceparm nodraw
+       surfaceparm nolightmap
+       surfaceparm trans
+       surfaceparm nomarks
+       surfaceparm nodamage
+}
+
 textures/common/donotenter
 {
        qer_trans 0.50
@@ -46,6 +80,22 @@ textures/common/donotenter
        surfaceparm donotenter
 }
 
+
+// never used
+//
+//textures/common/energypad
+//{
+//     qer_editorimage textures/sfx/bluegoal.tga
+//     surfaceparm nolightmap
+//     cull twosided
+//     {
+//             map textures//bluegoal.tga
+//             blendFunc GL_ONE GL_SRC_ALPHA
+//             tcGen environment
+//             tcMod turb 0 0.25 0 0.05
+//     }
+//}
+
 textures/common/full_clip // silly shader, use weapclip instead
 {
        qer_trans 0.40
@@ -83,6 +133,45 @@ textures/common/invisible // solid, transparent polygons, casts shadows
        surfaceparm nomarks
 }
 
+textures/common/mirror1
+{
+       qer_editorimage textures/common/mirror1.tga
+       surfaceparm nolightmap
+       portal
+       {
+               map textures/common/mirror1.tga
+               blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
+               depthWrite
+       }
+}
+
+textures/common/mirror2
+{
+       qer_editorimage textures/common/qer_mirror.tga
+       surfaceparm nolightmap
+       portal
+       {
+               map textures/common/mirror1.tga
+               blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
+               depthWrite
+       }
+       {
+               map textures/sfx/mirror.tga
+               blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
+       }
+}
+
+textures/common/missileclip
+{
+       qer_trans 0.40
+       surfaceparm nodamage
+       surfaceparm nomarks
+       surfaceparm nodraw
+       //surfaceparm nonsolid
+       surfaceparm playerclip
+       surfaceparm trans
+}
+
 textures/common/nodraw
 {
        surfaceparm nodraw
@@ -114,6 +203,7 @@ textures/common/nodrop
 
 textures/common/noimpact
 {
+       qer_editorimage textures/common/nolightmap.tga
        qer_nocarve
        qer_trans 0.5
        surfaceparm nodraw
@@ -149,6 +239,29 @@ textures/common/skip
        surfaceparm trans
 }
 
+textures/common/portal
+{
+       qer_editorimage textures/common/qer_portal.tga
+       surfaceparm nolightmap
+       portal
+       {
+               map textures/common/mirror1.tga
+               tcMod turb 0 0.25 0 0.05
+               blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
+               depthWrite
+       }
+}
+
+textures/common/slick
+{
+       qer_trans 0.50
+       surfaceparm nodraw
+       surfaceparm nolightmap
+       surfaceparm nomarks
+       surfaceparm trans
+       surfaceparm slick
+}
+
 textures/common/terrain
 {
        q3map_terrain
@@ -160,12 +273,26 @@ textures/common/terrain
 textures/common/terrain2
 {
        q3map_terrain
+       qer_editorimage textures/common/terrain.tga
        surfaceparm dust
        surfaceparm nodraw
        surfaceparm nomarks
        surfaceparm nolightmap
 }
 
+textures/common/timportal
+{
+       qer_editorimage textures/common/qer_portal.tga
+       portal
+       surfaceparm nolightmap
+       {
+               map textures/common/portal.tga
+               tcMod turb 0 0.25 0 0.05
+               blendFunc GL_ONE GL_SRC_ALPHA
+               depthWrite
+       }
+}
+
 textures/common/trigger
 {
        qer_trans 0.50
@@ -182,6 +309,31 @@ textures/common/weapclip
        surfaceparm nomarks
 }
 
+textures/common/metalclip
+{
+       qer_trans 0.40
+       surfaceparm nodraw
+       surfaceparm nolightmap
+       surfaceparm nonsolid
+       surfaceparm trans
+       surfaceparm nomarks
+       surfaceparm noimpact
+       surfaceparm playerclip
+       surfaceparm metalsteps
+}
+
+textures/common/botclip
+{
+       qer_trans 0.40
+       surfaceparm nodraw
+       surfaceparm nolightmap
+       surfaceparm nonsolid
+       surfaceparm trans
+       surfaceparm nomarks
+       surfaceparm noimpact
+       surfaceparm botclip
+}
+
 //
 // ydnar q3map lightgrid bounds
 //