]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/xonotic-fx.shader
Some fx shaders, I think they might be useful. More to come soon.
[xonotic/xonotic-maps.pk3dir.git] / scripts / xonotic-fx.shader
1 //Shader file for fx
2 //Forcefield1 red
3 textures/fx/forcefield1-a
4 {
5         qer_editorimage textures/fx/forcefields/forcefield1_a.tga
6         nopicmip
7         surfaceparm nolightmap
8         surfaceparm trans
9         cull none
10         surfaceparm nomarks
11         qer_trans 0.8
12         
13         {
14                 map textures/fx/forcefields/forcefield1_a.tga
15                 tcGen environment
16                 blendfunc GL_ONE GL_ONE
17                 tcMod turb 0 0.25 0 0.5
18                 tcMod scroll -.5 -.3
19         }
20 }
21 //Forcefield1 blue
22 textures/fx/forcefield1-b
23 {
24         qer_editorimage textures/fx/forcefields/forcefield1_b.tga
25         nopicmip
26         surfaceparm nolightmap
27         surfaceparm trans
28         cull none
29         surfaceparm nomarks
30         qer_trans 0.8
31         
32         {
33                 map textures/fx/forcefields/forcefield1_b.tga
34                 tcGen environment
35                 blendfunc GL_ONE GL_ONE
36                 tcMod turb 0 0.25 0 0.5
37                 tcMod scroll -.5 -.3
38         }
39 }
40 //Forcefield1 yellow
41 textures/fx/forcefield2-c
42 {
43         qer_editorimage textures/fx/forcefields/forcefield1_c.tga
44         nopicmip
45         surfaceparm nolightmap
46         surfaceparm trans
47         cull none
48         surfaceparm nomarks
49         qer_trans 0.8
50         
51         {
52                 map textures/fx/forcefields/forcefield1_c.tga
53                 tcGen environment
54                 blendfunc GL_ONE GL_ONE
55                 tcMod turb 0 0.25 0 0.5
56                 tcMod scroll -.5 -.3
57         }
58 }
59 //Forcefield1 green
60 textures/fx/forcefield1-d
61 {
62         qer_editorimage textures/fx/forcefields/forcefield1_d.tga
63         nopicmip
64         surfaceparm nolightmap
65         surfaceparm trans
66         cull none
67         surfaceparm nomarks
68         qer_trans 0.8
69         
70         {
71                 map textures/fx/forcefields/forcefield1_d.tga
72                 tcGen environment
73                 blendfunc GL_ONE GL_ONE
74                 tcMod turb 0 0.25 0 0.5
75                 tcMod scroll -.5 -.3
76         }
77 }
78 //Jumppad1 blue
79 textures/fx/jumppadfx1-a
80 {
81         qer_editorimage textures/fx/jumppad/jumppadfx1_a
82         surfaceparm nolightmap
83         surfaceparm nomarks
84         surfaceparm nonsolid
85         surfaceparm trans
86         cull none
87         qer_trans 0.6
88         {
89                 map textures/fx/juppad/jumppadfx1_a
90                 blendfunc add
91                 tcMod scroll 0 2
92         }
93 }
94 //Jumppad1 red
95 textures/fx/jumppadfx1-b
96 {
97         qer_editorimage textures/fx/jumppad/jumppadfx1_b
98         surfaceparm nolightmap
99         surfaceparm nomarks
100         surfaceparm nonsolid
101         surfaceparm trans
102         cull none
103         qer_trans 0.6
104         {
105                 map textures/fx/juppad/jumppadfx1_b
106                 blendfunc add
107                 tcMod scroll 0 2
108         }
109 }
110 //Jumppad1 yellow
111 textures/fx/jumppadfx1-c
112 {
113         qer_editorimage textures/fx/jumppad/jumppadfx1_c
114         surfaceparm nolightmap
115         surfaceparm nomarks
116         surfaceparm nonsolid
117         surfaceparm trans
118         cull none
119         qer_trans 0.6
120         {
121                 map textures/fx/juppad/jumppadfx1_c
122                 blendfunc add
123                 tcMod scroll 0 2
124         }
125 }
126 //Jumppad1 green
127 textures/fx/jumppadfx1-d
128 {
129         qer_editorimage textures/fx/jumppad/jumppadfx1_d
130         surfaceparm nolightmap
131         surfaceparm nomarks
132         surfaceparm nonsolid
133         surfaceparm trans
134         cull none
135         qer_trans 0.6
136         {
137                 map textures/fx/juppad/jumppadfx1_d
138                 blendfunc add
139                 tcMod scroll 0 2
140         }
141 }