From 35d7b76494cee06b9247bfee15d370dcd36d365e Mon Sep 17 00:00:00 2001 From: FruitieX Date: Sun, 1 Aug 2010 19:35:38 +0300 Subject: [PATCH] better idea, create separate shaders for surfacelight options --- scripts/exx.shader | 46 +++++++++++- scripts/trak5x.shader | 160 +++++++++++++++++++++++++++++++++++++++--- 2 files changed, 196 insertions(+), 10 deletions(-) diff --git a/scripts/exx.shader b/scripts/exx.shader index 525529f8..eb3db9d2 100644 --- a/scripts/exx.shader +++ b/scripts/exx.shader @@ -718,7 +718,28 @@ textures/exx/light-panel01 dpglossintensitymod 3 dpglossexponentmod 4 - q3map_surfacelight 3500 + { + map textures/exx/light/light_panel01.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/exx/light-panel01-surfacelight +{ + qer_editorimage textures/exx/light/light_panel01.tga + + q3map_bounceScale 0.75 + dpoffsetmapping - 2 + dpglossintensitymod 3 + dpglossexponentmod 4 + + q3map_surfacelight 1700 { map textures/exx/light/light_panel01.tga @@ -741,7 +762,28 @@ textures/exx/light-u201 dpglossintensitymod 3 dpglossexponentmod 4 - q3map_surfacelight 3500 + { + map textures/exx/light/light_u201.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/exx/light-u201-surfacelight +{ + qer_editorimage textures/exx/light/light_u201.tga + + q3map_bounceScale 0.75 + dpoffsetmapping - 2 + dpglossintensitymod 3 + dpglossexponentmod 4 + + q3map_surfacelight 1700 { map textures/exx/light/light_u201.tga diff --git a/scripts/trak5x.shader b/scripts/trak5x.shader index fe13df80..f55a419c 100644 --- a/scripts/trak5x.shader +++ b/scripts/trak5x.shader @@ -783,7 +783,25 @@ textures/trak5x/light-light1a q3map_bounceScale 1.25 - q3map_surfacelight 3500 + { + map textures/trak5x/light/light_light1a.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light1a-surfacelight +{ + qer_editorimage textures/trak5x/light/light_light1a.tga + + q3map_bounceScale 1.25 + + q3map_surfacelight 1700 { map textures/trak5x/light/light_light1a.tga @@ -803,7 +821,25 @@ textures/trak5x/light-light1b q3map_bounceScale 1.25 - q3map_surfacelight 3500 + { + map textures/trak5x/light/light_light1b.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light1b-surfacelight +{ + qer_editorimage textures/trak5x/light/light_light1b.tga + + q3map_bounceScale 1.25 + + q3map_surfacelight 1700 { map textures/trak5x/light/light_light1b.tga @@ -823,7 +859,25 @@ textures/trak5x/light-light1c q3map_bounceScale 1.25 - q3map_surfacelight 3500 + { + map textures/trak5x/light/light_light1c.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light1c-surfacelight +{ + qer_editorimage textures/trak5x/light/light_light1c.tga + + q3map_bounceScale 1.25 + + q3map_surfacelight 1700 { map textures/trak5x/light/light_light1c.tga @@ -843,7 +897,25 @@ textures/trak5x/light-light2a q3map_bounceScale 1.25 - q3map_surfacelight 3500 + { + map textures/trak5x/light/light_light2a.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light2a-surfacelight +{ + qer_editorimage textures/trak5x/light/light_light2a.tga + + q3map_bounceScale 1.25 + + q3map_surfacelight 1700 { map textures/trak5x/light/light_light2a.tga @@ -863,7 +935,25 @@ textures/trak5x/light-light2b q3map_bounceScale 1.25 - q3map_surfacelight 3500 + { + map textures/trak5x/light/light_light2b.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light2b-surfacelight +{ + qer_editorimage textures/trak5x/light/light_light2b.tga + + q3map_bounceScale 1.25 + + q3map_surfacelight 1700 { map textures/trak5x/light/light_light2b.tga @@ -883,7 +973,25 @@ textures/trak5x/light-light2c q3map_bounceScale 1.25 - q3map_surfacelight 3500 + { + map textures/trak5x/light/light_light2c.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light2c-surfacelight +{ + qer_editorimage textures/trak5x/light/light_light2c.tga + + q3map_bounceScale 1.25 + + q3map_surfacelight 1700 { map textures/trak5x/light/light_light2c.tga @@ -903,7 +1011,25 @@ textures/trak5x/light-light2d q3map_bounceScale 1.25 - q3map_surfacelight 3500 + { + map textures/trak5x/light/light_light2d.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light2d-surfacelight +{ + qer_editorimage textures/trak5x/light/light_light2d.tga + + q3map_bounceScale 1.25 + + q3map_surfacelight 1700 { map textures/trak5x/light/light_light2d.tga @@ -923,7 +1049,25 @@ textures/trak5x/light-light3a q3map_bounceScale 1.25 - q3map_surfacelight 3500 + { + map textures/trak5x/light/light_light3a.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light3a-surfacelight +{ + qer_editorimage textures/trak5x/light/light_light3a.tga + + q3map_bounceScale 1.25 + + q3map_surfacelight 1700 { map textures/trak5x/light/light_light3a.tga -- 2.39.2