home *** CD-ROM | disk | FTP | other *** search
- //=============================
- //
- // 'Sidrial' texture shaders;
- //
- // . sidrialdm1_skybox
- // . sidrialsp1_skybox
- // . paleblue_light1
- // . sidrialsp_paleblue_light1
- // . sidrialspescape_paleblue_light1
- // . black_fog1
- // . black_fog1
- // . black_fog2
- // . basemonitor
- // . sidrialcharger_light1
- // . noimpact
- // . sidrial_dmglass
- // . sidrial_spglass
- // . power_rods
- // . sidrial_grid07_metal
- // . sidrial_grid08_metal
- // . screenA
- // . screenB
- // . consoleC
- // . consoleH
- // . sidrial_dmglassint
- // . waterfall1
- // . sidrial_pipe_fence
- //
- //=============================
- // q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>
- // color will be normalized, so it doesn't matter what range you use
- // intensity falls off with angle but not distance 100 is a fairly bright sun
- // degree of 0 = from the east, 90 = north, etc. altitude of 0 = sunrise/set, 90 = noon
- textures/sidrialdm1/sidrialdm1_skybox
- {
- qer_editorimage textures/sidrialdm1/lm.tga
- surfaceparm noimpact
- surfaceparm nolightmap
- q3map_surfacelight 115
- q3map_sun 0.5 0.37 0.19 120 270 70
- skyParms env/sidrialdm1/sidrialdm1sky 128 -
- }
-
- textures/sidrial_tex/sidrialsp1_skybox
- {
- qer_editorimage textures/sidrial_tex/sidrial_s.tga
- surfaceparm noimpact
- surfaceparm nolightmap
- q3map_surfacelight 115
- q3map_sun 0.5 0.37 0.19 120 270 70
- skyParms env/invadercity/invadercity 128 -
- }
-
- textures/sidrialdm1/paleblue_light1
- {
- qer_editorimage textures/sidrialdm1/paleblue_light1.tga
- q3map_lightimage textures/sidrialdm1/paleblue_light1.blend.tga
- surfaceparm nomarks
- q3map_surfacelight 400
- {
- map $lightmap
- // rgbGen identity
- tcGen lightmap
- }
- {
- map textures/sidrialdm1/paleblue_light1.tga
- blendfunc filter
- rgbGen identity
- }
- {
- map textures/sidrialdm1/paleblue_light1.blend.tga
- blendfunc add
- }
- }
-
- textures/sidrial_tex/sidrialsp_paleblue_light1
- {
- qer_editorimage textures/sidrial_tex/sidrialsp_paleblue_light1.tga
- q3map_lightimage textures/sidrial_tex/sidrialsp_paleblue_light1.blend.tga
- surfaceparm nomarks
- q3map_surfacelight 650
- {
- map $lightmap
- // rgbGen identity
- tcGen lightmap
- }
- {
- map textures/sidrial_tex/sidrialsp_paleblue_light1.tga
- blendfunc filter
- rgbGen identity
- }
- {
- map textures/sidrial_tex/sidrialsp_paleblue_light1.blend.tga
- blendfunc add
- }
- }
-
- textures/sidrial_tex/sidrialspescape_paleblue_light1
- {
- qer_editorimage textures/sidrial_tex/sidrialspescape_paleblue_light1.tga
- q3map_lightimage textures/sidrial_tex/sidrialspescape_paleblue_light1.blend.tga
- surfaceparm nomarks
- q3map_surfacelight 680
- {
- map $lightmap
- rgbGen identity
- }
- {
- map textures/sidrial_tex/sidrial_hazardtape.tga
- blendfunc filter
- // rgbGen identity
- tcMod scale 10 10
- }
- // {
- // map textures/sidrial_tex/sidrialspescape_paleblue_light1.tga
- // blendFunc GL_DST_COLOR GL_ZERO
- // rgbGen identity
- // tcMod scale 8 1
- // }
- // {
- // map textures/sidrial_tex/sidrialspescape_paleblue_light1.blend.tga
- // blendfunc GL_ONE GL_ONE
- // rgbGen wave sawtooth 0 1 0 1
- // tcMod scale 8 1
- // }
- }
-
- // FOG
- //Fog1 is a quite thick black fog
- textures/sidrial_tex/black_fog1
- {
- qer_editorimage textures/sidrial_tex/sidrial_fog1.tga
- surfaceparm fog
- surfaceparm nodrop
- surfaceparm nolightmap
- surfaceparm nonsolid
- surfaceparm trans
- q3map_globaltexture
- fogparms ( 0.2 0.2 0.25 ) 300
- {
- map textures/sidrial_tex/sidrial_blackfog.tga
- blendfunc filter
- rgbGen identity
- tcMod scale -0.05 -0.05
- tcMod scroll 0.01 -0.01
- }
- {
- map textures/sidrial_tex/sidrial_blackfog.tga
- blendfunc filter
- rgbGen identity
- tcMod scale 0.05 0.05
- tcMod scroll 0.01 -0.01
- }
- }
-
- //Fog1 is a quite thick black fog
- textures/sidrialdm1/black_fog1
- {
- qer_editorimage textures/sidrialdm1/black_fog1.tga
- surfaceparm fog
- surfaceparm nodrop
- surfaceparm nolightmap
- surfaceparm nonsolid
- surfaceparm trans
- q3map_globaltexture
- fogparms ( 0 0 0 ) 35
- {
- map textures/liquids/kc_fogcloud3.tga
- blendfunc filter
- rgbGen identity
- tcMod scale -0.05 -0.05
- tcMod scroll 0.01 -0.01
- }
- {
- map textures/liquids/kc_fogcloud3.tga
- blendfunc filter
- rgbGen identity
- tcMod scale 0.05 0.05
- tcMod scroll 0.01 -0.01
- }
- }
-
- //Fog1 is a light black fog
- textures/sidrial_tex/black_fog2
- {
- qer_editorimage textures/sidrial_tex/sidrial_fog1.tga
- surfaceparm fog
- surfaceparm nodrop
- surfaceparm nolightmap
- surfaceparm nonsolid
- surfaceparm trans
- q3map_globaltexture
- fogparms ( 0.2 0.2 0.25 ) 3000
- {
- map textures/sidrial_tex/sidrial_blackfog.tga
- blendfunc filter
- rgbGen identity
- tcMod scale -0.05 -0.05
- tcMod scroll 0.01 -0.01
- }
- {
- map textures/sidrial_tex/sidrial_blackfog.tga
- blendfunc filter
- rgbGen identity
- tcMod scale 0.05 0.05
- tcMod scroll 0.01 -0.01
- }
- }
-
- textures/sidrial_tex/basemonitor
- {
- qer_editorimage textures/sidrial_tex/sidrial_basemonitor.tga
- surfaceparm nolightmap
- portal
- {
- map textures/sidrial_tex/sidrial_black.tga
- blendfunc blend
- rgbGen identityLighting
- depthWrite
- alphaGen portal 256
- }
- }
-
- textures/sidrial_tex/sidrialcharger_light1
- {
- qer_editorimage models/entities/energystation/blueelectricity.tga
- q3map_lightimage textures/sidrial_tex/sidrialcharger_light1.blend.tga
- surfaceparm nomarks
- q3map_surfacelight 400
- {
- map models/entities/energystation/blueelectricity.tga
- blendfunc add
- tcMod scroll -2 -2
- }
- {
- map models/entities/energystation/fractalbluetilable.tga
- blendfunc add
- tcMod scroll 0.5 0.5
- }
- }
-
- textures/sidrial_tex/noimpact
- {
- qer_editorimage textures/common/nolightmap.tga
- surfaceparm nodraw
- surfaceparm noimpact
- }
-
- textures/sidrial_tex/sidrial_dmglass
- {
- qer_editorimage textures/sidrial_tex/sidrial_glassdm1q3r.tga
- surfaceparm nolightmap
- surfaceparm trans
- qer_trans 0.25
- {
- map textures/sidrial_tex/sidrial_dmreflection.tga
- blendfunc add
- rgbGen identity
- tcGen environment
- }
- }
-
- textures/sidrial_tex/sidrial_spglass
- {
- qer_editorimage textures/sidrial_tex/sidrial_glasssp1q3r.tga
- surfaceparm nolightmap
- surfaceparm trans
- qer_trans 0.25
- {
- map textures/sidrial_tex/sidrial_spreflection.tga
- blendfunc add
- rgbGen identity
- tcGen environment
- }
- }
-
- textures/sidrialdm1/power_rods
- {
- {
- map textures/energy_tube/blue_fluid.tga
- blendfunc blend
- tcMod scroll 1 -0.2
- tcMod scale 1 3
- }
- {
- map models/entities/energystation/blueelectricity.tga
- blendfunc add
- rgbGen wave sin 0.8 0.2 0.5 0.2
- tcMod scroll -20 -20
- alphaGen wave sin 0.5 1 0.5 0.1
- }
- {
- map textures/energy_tube/pulse.tga
- blendfunc add
- tcMod scale 0 0.5
- tcMod scroll 0 1.5
- tcMod turb 0 0.35 0 0.1
- }
- }
-
- textures/sidrial_tex/sidrial_grid07_metal
- {
- qer_editorimage textures/sidrial_tex/sidrial_grid07.tga
- surfaceparm metalsteps
- {
- map $lightmap
- rgbGen identity
- tcGen lightmap
- }
- {
- map textures/sidrial_tex/sidrial_grid07.tga
- blendfunc filter
- rgbGen identity
- }
- }
-
- textures/sidrial_tex/sidrial_grid08_metal
- {
- qer_editorimage textures/sidrial_tex/sidrial_grid08.tga
- surfaceparm metalsteps
- {
- map $lightmap
- rgbGen identity
- tcGen lightmap
- }
- {
- map textures/sidrial_tex/sidrial_grid08.tga
- blendfunc filter
- rgbGen identity
- }
- }
-
- textures/sidrial_tex/screenA
- {
- {
- map textures/sidrial_tex/screenAscroll.tga
- tcMod scroll 0 0.05
- }
- {
- map textures/sidrial_tex/screenA.tga
- blendfunc blend
- }
- {
- map textures/sidrial_tex/screenAblink.tga
- blendfunc blend
- alphaGen wave inversesawtooth 0 1 0 1
- }
- {
- map textures/sidrial_tex/widget.tga
- blendfunc blend
- alphaGen wave sin -50 51 0 0.02
- }
- }
-
- textures/sidrial_tex/screenB
- {
- {
- map textures/sidrial_tex/screenBscroll.tga
- tcMod scroll 0 0.05
- }
- {
- map textures/sidrial_tex/screenB.tga
- blendfunc blend
- }
- {
- map textures/sidrial_tex/screenBblink.tga
- blendfunc blend
- alphaGen wave inversesawtooth 0 1 0 1
- }
- }
-
- textures/sidrial_tex/consoleC
- {
- {
- clampmap textures/sidrial_tex/consoleC_meter.tga
- tcMod turb 0.5 0.1 0 0.2
- }
- {
- map textures/sidrial_tex/consoleC.tga
- blendfunc blend
- rgbGen Vertex
- }
- {
- map textures/sidrial_tex/consoleC_lights2.tga
- blendfunc add
- rgbGen wave square 0 1 0 1
- }
- {
- map textures/sidrial_tex/consoleC_lights1.tga
- blendfunc add
- }
- {
- animmap 2 textures/sidrial_tex/consoleC_lights3.tga textures/sidrial_tex/consoleC_lights4.tga textures/sidrial_tex/consoleC_lights5.tga
- blendfunc add
- }
- {
- map textures/sidrial_tex/consoleC_Lloyd1.tga
- blendfunc blend
- rgbGen vertex
- alphaGen wave sin -50 51 0 0.02
- }
- {
- map textures/sidrial_tex/consoleC_Lloyd2.tga
- blendfunc add
- rgbGen wave sin -50 51 0 0.02
- }
-
- }
-
- textures/sidrial_tex/consoleH
- {
- {
- map textures/sidrial_tex/consoleH_lights1.tga
- tcMod scroll 0 -1
- }
- {
- map textures/sidrial_tex/consoleH.tga
- blendfunc blend
- rgbGen Vertex
- }
- {
- map textures/sidrial_tex/consoleH_lights2.tga
- blendfunc add
- }
- {
- animmap 2 textures/sidrial_tex/consoleH_lights3.tga textures/sidrial_tex/consoleH_lights4.tga textures/sidrial_tex/consoleH_lights5.tga
- blendfunc add
- }
- {
- map textures/sidrial_tex/consoleH_Rowan1.tga
- blendfunc blend
- rgbGen vertex
- alphaGen wave sin -50 51 0 0.02
- }
- {
- map textures/sidrial_tex/consoleH_Rowan2.tga
- blendfunc add
- rgbGen wave sin -50 51 0 0.02
- }
- }
-
- textures/sidrial_tex/sidrial_dmglassint
- {
- qer_editorimage textures/sidrial_tex/sidrial_glassdm1q3rint.tga
- surfaceparm nolightmap
- surfaceparm trans
- qer_trans 0.25
- {
- map textures/sidrial_tex/sidrial_dmreflectionint.tga
- blendfunc add
- rgbGen identity
- tcGen environment
- }
- }
-
- textures/sidrial_tex/waterfall1
- {
- {
- map textures/sidrial_tex/waterfall_lights.tga
- tcMod scroll -0.1 0
- }
- {
- map textures/sidrial_tex/waterfall_f.tga
- blendfunc filter
- }
- {
- animmap 10 textures/sidrial_tex/waterfall_static1.tga textures/sidrial_tex/waterfall_static2.tga textures/sidrial_tex/waterfall_static3.tga
- blendfunc add
- }
- }
-
- //sidrial_tex/waterfall1
- //{
- // {
- // animmap 10 textures/sidrial_tex/waterfallflow1.tga textures/sidrial_tex/waterfallflow2.tga textures/sidrial_tex/waterfallflow3.tga
- // }
- //}
- //sidrial_tex/waterfall2
- //{
- // {
- // animmap 10 textures/sidrial_tex/waterfallflow1.tga textures/sidrial_tex/waterfallflow2.tga textures/sidrial_tex/waterfallflow3.tga
- // }
- // {
- // map textures/sidrial_tex/waterfallOff.tga
- // blendFunc blend
- // alphaGen wave sin 0.5 1 0 0.3
- //
- // }
- //}
- //sidrial_tex/waterfall3
- //{
- // {
- // map textures/sidrial_tex/waterfall3.tga
- // }
- //}
- textures/sidrial_tex/sidrial_pipe_fence
- {
- surfaceparm trans
- cull disable
- nopicmip
- {
- map textures/sidrial_tex/sidrial_pipe_fence.tga
- rgbGen identity
- tcMod scale 3 3
- depthWrite
- alphaFunc GE128
- }
- {
- map $lightmap
- blendfunc filter
- rgbGen identity
- tcGen lightmap
- depthFunc equal
- }
- }
-
-