[nexuiz-commits] r7289 - trunk/data/scripts
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Aug 1 16:35:57 EDT 2009
Author: div0
Date: 2009-08-01 16:35:57 -0400 (Sat, 01 Aug 2009)
New Revision: 7289
Modified:
trunk/data/scripts/portals.shader
Log:
for solid portals: shader change
Modified: trunk/data/scripts/portals.shader
===================================================================
--- trunk/data/scripts/portals.shader 2009-08-01 16:13:16 UTC (rev 7288)
+++ trunk/data/scripts/portals.shader 2009-08-01 20:35:57 UTC (rev 7289)
@@ -2,7 +2,7 @@
{
cull none
deformVertexes wave 100 sin 1.5 0.6 0 1.5
- {
+ {
map textures/portals/portals_red_vortex.tga
tcMod rotate 10
blendfunc blend
@@ -13,10 +13,10 @@
{
cull none
deformVertexes wave 100 sin 1.5 0.6 0 1.5
- {
+ {
map textures/portals/portals_blue_vortex.tga
tcMod rotate 10
- blendfunc blend
+ blendfunc blend
}
}
@@ -24,9 +24,45 @@
{
cull none
deformVertexes wave 100 sin 1.5 0.6 0 1.5
- {
+ {
map textures/portals/portals_inactive_vortex.tga
tcMod rotate 10
blendfunc blend
}
}
+
+textures/portals/portals_red
+{
+ surfaceparm nonsolid
+ {
+ map textures/portals/portals_red.tga
+ }
+ {
+ map $lightmap
+ blendfunc filter
+ }
+}
+
+textures/portals/portals_blue
+{
+ surfaceparm nonsolid
+ {
+ map textures/portals/portals_blue.tga
+ }
+ {
+ map $lightmap
+ blendfunc filter
+ }
+}
+
+textures/portals/portals_inactive
+{
+ surfaceparm nonsolid
+ {
+ map textures/portals/portals_inactive.tga
+ }
+ {
+ map $lightmap
+ blendfunc filter
+ }
+}
More information about the nexuiz-commits
mailing list