home *** CD-ROM | disk | FTP | other *** search
- //=============================
- //
- // 'Sidrial' Item shaders;
- //
- // . ammoItem
- // . ammoEnergy
- // . datasphere_sphere
- // . datasphere_support
- // . datasphere_base
- // . healthCanister
- //
- //=============================
-
- models/powerups/ammo/ammoItem
-
- {
- sort banner
- cull disable
-
- {
- map textures/sidrial_tex/sidrial_spreflection_item.tga
- blendfunc add
- tcGen environment
- }
- {
- map models/powerups/ammo/ammoItem.tga
- blendFunc blend
- depthwrite
- rgbGen lightingDiffuse
- }
-
- // {
- // map $lightmap
- // rgbGen identity
- // blendFunc GL_DST_COLOR GL_ZERO
- // depthFunc equal
- // }
-
- }
-
- models/powerups/ammo/ammoEnergy
-
- {
- qer_editorimage models/powerups/ammo/ammoEnergy.tga
- surfaceparm trans
- surfaceparm nomarks
- surfaceparm nolightmap
- sort banner
- cull none
-
- {
- map models/powerups/ammo/ammoEnergy.tga
- // blendfunc add
- tcMod scale 10 4
- tcMod scroll 0 4
- }
-
- }
-
- models/powerups/holdable/datasphere_sphere
-
- {
- // surfaceparm trans
- // surfaceparm nomarks
- // surfaceparm nolightmap
- cull none
-
- {
- map textures/sidrial_tex/sidrial_spreflection_item.tga
- tcGen environment
- }
- {
- map models/powerups/holdable/dataSphere_sphere.tga
- blendfunc add
- tcMod scale 2 2
- tcMod scroll 0.66 0
- }
- {
- map models/powerups/holdable/dataSphere_sphere.tga
- blendfunc add
- tcMod scroll -0.1 0
- }
- }
-
- models/powerups/holdable/datasphere_support
- {
- deformVertexes autosprite2
- cull none
-
- {
- map models/powerups/holdable/dataSphere_support.tga
- blendfunc add
- tcMod scroll -3 0
- }
-
- }
-
- models/powerups/holdable/datasphere_base
- {
- {
- map textures/sidrial_tex/sidrial_spreflection_item.tga
- tcGen environment
- }
- {
- map models/powerups/holdable/dataSphere_base.tga
- blendfunc blend
- rgbGen lightingDiffuse
- }
- {
- map models/powerups/holdable/dataSphere_base_lights.tga
- blendfunc add
- rgbGen wave square 0 1 0 1
- }
- }
-
- models/powerups/health/healthCanister
- {
- {
- map textures/effects/tinfx2d.jpg
- tcGen environment
- }
- {
- map models/powerups/health/healthCanister.tga
- blendfunc blend
- rgbGen lightingdiffuse
- }
- {
- map $lightmap
- blendFunc filter
- }
- }