From e4a8d2a87d687fe867d923511771128f1f18f112 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Kr=C3=BCger?= Date: Mon, 31 Aug 2015 17:21:22 +0200 Subject: [PATCH] ad sRGB surfacelights to shaders (reduced surfacelights) --- scripts/exx.shader | 49 ++++++++++++ scripts/trak5x.shader | 175 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 224 insertions(+) diff --git a/scripts/exx.shader b/scripts/exx.shader index 961244ea..2c42daa8 100644 --- a/scripts/exx.shader +++ b/scripts/exx.shader @@ -922,6 +922,31 @@ textures/exx/light-panel01-surfacelight blendfunc filter } } +textures/exx/light-panel01-surfacelight_sRGB +{ + qer_editorimage textures/exx/light/light_panel01.tga + + q3map_bounceScale 0.75 + dpoffsetmapping - 2 match8 79 + dpglossintensitymod 3 + dpglossexponentmod 4 + + q3map_surfacelight 625 + q3map_lightSubdivide 64 + + { + map textures/exx/light/light_panel01.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} + textures/exx/light-u201 { qer_editorimage textures/exx/light/light_u201.tga @@ -959,6 +984,30 @@ textures/exx/light-u201-surfacelight map textures/exx/light/light_u201.tga + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/exx/light-u201-surfacelight_sRGB +{ + qer_editorimage textures/exx/light/light_u201.tga + + q3map_bounceScale 0.75 + dpoffsetmapping - 2 match8 76 + dpglossintensitymod 3 + dpglossexponentmod 4 + + q3map_surfacelight 625 + q3map_lightSubdivide 64 + + { + map textures/exx/light/light_u201.tga + + } { map $lightmap diff --git a/scripts/trak5x.shader b/scripts/trak5x.shader index 0707c665..fa876690 100644 --- a/scripts/trak5x.shader +++ b/scripts/trak5x.shader @@ -943,6 +943,28 @@ textures/trak5x/light-light1a-surfacelight map textures/trak5x/light/light_light1a.tga + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light1a-surfacelight_sRGB +{ + qer_editorimage textures/trak5x/light/light_light1a.tga + dpoffsetmapping - 4 match8 67 + + q3map_bounceScale 1.25 + + q3map_surfacelight 625 + q3map_lightSubdivide 64 + + { + map textures/trak5x/light/light_light1a.tga + + } { map $lightmap @@ -984,6 +1006,28 @@ textures/trak5x/light-light1b-surfacelight map textures/trak5x/light/light_light1b.tga + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light1b-surfacelight_sRGB +{ + qer_editorimage textures/trak5x/light/light_light1b.tga + dpoffsetmapping - 4 match8 67 + + q3map_bounceScale 1.25 + + q3map_surfacelight 625 + q3map_lightSubdivide 64 + + { + map textures/trak5x/light/light_light1b.tga + + } { map $lightmap @@ -1033,6 +1077,27 @@ textures/trak5x/light-light1c-surfacelight blendfunc filter } } +textures/trak5x/light-light1c-surfacelight_sRGB +{ + qer_editorimage textures/trak5x/light/light_light1c.tga + dpoffsetmapping - 4 match8 67 + + q3map_bounceScale 1.25 + + q3map_surfacelight 625 + q3map_lightSubdivide 64 + + { + map textures/trak5x/light/light_light1c.tga + + + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + textures/trak5x/light-light2a { qer_editorimage textures/trak5x/light/light_light2a.tga @@ -1066,6 +1131,28 @@ textures/trak5x/light-light2a-surfacelight map textures/trak5x/light/light_light2a.tga + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light2a-surfacelight_sRGB +{ + qer_editorimage textures/trak5x/light/light_light2a.tga + dpoffsetmapping - 4 match8 85 + + q3map_bounceScale 1.25 + + q3map_surfacelight 625 + q3map_lightSubdivide 64 + + { + map textures/trak5x/light/light_light2a.tga + + } { map $lightmap @@ -1107,6 +1194,28 @@ textures/trak5x/light-light2b-surfacelight map textures/trak5x/light/light_light2b.tga + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light2b-surfacelight_sRGB +{ + qer_editorimage textures/trak5x/light/light_light2b.tga + dpoffsetmapping - 4 match8 85 + + q3map_bounceScale 1.25 + + q3map_surfacelight 625 + q3map_lightSubdivide 64 + + { + map textures/trak5x/light/light_light2b.tga + + } { map $lightmap @@ -1148,6 +1257,28 @@ textures/trak5x/light-light2c-surfacelight map textures/trak5x/light/light_light2c.tga + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light2c-surfacelight_sRGB +{ + qer_editorimage textures/trak5x/light/light_light2c.tga + dpoffsetmapping - 4 match8 85 + + q3map_bounceScale 1.25 + + q3map_surfacelight 625 + q3map_lightSubdivide 64 + + { + map textures/trak5x/light/light_light2c.tga + + } { map $lightmap @@ -1230,6 +1361,28 @@ textures/trak5x/light-light3a-surfacelight map textures/trak5x/light/light_light3a.tga + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light3a-surfacelight_sRGB +{ + qer_editorimage textures/trak5x/light/light_light3a.tga + dpoffsetmapping - 4 match8 73 + + q3map_bounceScale 1.25 + + q3map_surfacelight 625 + q3map_lightSubdivide 32 + + { + map textures/trak5x/light/light_light3a.tga + + } { map $lightmap @@ -1271,6 +1424,28 @@ textures/trak5x/light-light3b-surfacelight map textures/trak5x/light/light_light3b.tga + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} +textures/trak5x/light-light3b-surfacelight_sRGB +{ + qer_editorimage textures/trak5x/light/light_light3b.tga + dpoffsetmapping - 4 match8 73 + + q3map_bounceScale 1.25 + + q3map_surfacelight 625 + q3map_lightSubdivide 32 + + { + map textures/trak5x/light/light_light3b.tga + + } { map $lightmap -- 2.39.2