From: Rudolf Polzer Date: Wed, 6 Oct 2010 04:45:16 +0000 (+0200) Subject: fix light subdivision on the shaders X-Git-Tag: xonotic-v0.1.0preview~110 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4a4b2aa;p=xonotic%2Fxonotic-maps.pk3dir.git fix light subdivision on the shaders --- diff --git a/scripts/exx.shader b/scripts/exx.shader index 9c68a726..a641bf8c 100644 --- a/scripts/exx.shader +++ b/scripts/exx.shader @@ -836,6 +836,7 @@ textures/exx/light-panel01-surfacelight dpglossexponentmod 4 q3map_surfacelight 2500 + q3map_lightSubdivide 32 { map textures/exx/light/light_panel01.tga @@ -880,6 +881,7 @@ textures/exx/light-u201-surfacelight dpglossexponentmod 4 q3map_surfacelight 2500 + q3map_lightSubdivide 32 { map textures/exx/light/light_u201.tga diff --git a/scripts/liquids_lava.shader b/scripts/liquids_lava.shader index e28e7065..f2060c4f 100644 --- a/scripts/liquids_lava.shader +++ b/scripts/liquids_lava.shader @@ -8,6 +8,7 @@ textures/liquids_lava/lava0 deformVertexes wave 150.0 sin 2 5 0.25 0.1 Q3map_TessSize 128 q3map_surfacelight 1000 + q3map_lightSubdivide 64 { map textures/liquids_lava/lava0.tga blendfunc add @@ -22,6 +23,7 @@ textures/liquids_lava/lava0_flow surfaceparm trans cull disable q3map_surfacelight 1000 + q3map_lightSubdivide 64 { map textures/liquids_lava/lava0.tga blendfunc add diff --git a/scripts/trak5x.shader b/scripts/trak5x.shader index 32396f2f..2c2e2902 100644 --- a/scripts/trak5x.shader +++ b/scripts/trak5x.shader @@ -821,6 +821,7 @@ textures/trak5x/light-light1a-surfacelight q3map_bounceScale 1.25 q3map_surfacelight 2500 + q3map_lightSubdivide 32 { map textures/trak5x/light/light_light1a.tga @@ -859,6 +860,7 @@ textures/trak5x/light-light1b-surfacelight q3map_bounceScale 1.25 q3map_surfacelight 2500 + q3map_lightSubdivide 32 { map textures/trak5x/light/light_light1b.tga @@ -897,6 +899,7 @@ textures/trak5x/light-light1c-surfacelight q3map_bounceScale 1.25 q3map_surfacelight 2500 + q3map_lightSubdivide 32 { map textures/trak5x/light/light_light1c.tga @@ -935,6 +938,7 @@ textures/trak5x/light-light2a-surfacelight q3map_bounceScale 1.25 q3map_surfacelight 2500 + q3map_lightSubdivide 32 { map textures/trak5x/light/light_light2a.tga @@ -973,6 +977,7 @@ textures/trak5x/light-light2b-surfacelight q3map_bounceScale 1.25 q3map_surfacelight 2500 + q3map_lightSubdivide 32 { map textures/trak5x/light/light_light2b.tga @@ -1011,6 +1016,7 @@ textures/trak5x/light-light2c-surfacelight q3map_bounceScale 1.25 q3map_surfacelight 2500 + q3map_lightSubdivide 32 { map textures/trak5x/light/light_light2c.tga @@ -1049,6 +1055,7 @@ textures/trak5x/light-light2d-surfacelight q3map_bounceScale 1.25 q3map_surfacelight 2500 + q3map_lightSubdivide 32 { map textures/trak5x/light/light_light2d.tga @@ -1087,6 +1094,7 @@ textures/trak5x/light-light3a-surfacelight q3map_bounceScale 1.25 q3map_surfacelight 2500 + q3map_lightSubdivide 16 { map textures/trak5x/light/light_light3a.tga