hlac fix: proper size for textures, smaller scope, reposition of 1st person view
[divverent/nexuiz.git] / data / scripts / official_cmp1.shader
1 //****************************************************//\r
2 //                                                                      //\r
3 //      purplenebula-cmp1.shader for Quake III          //\r
4 //      by Amethyst7 - 03.13.2002                               //\r
5 //                                                                      //\r
6 //****************************************************//\r
7 \r
8 textures/amethyst7/purplenebula-cmp1/purplenebula_skybox\r
9 {\r
10         qer_editorimage textures/amethyst7/purplenebula-cmp1/purplenebula\r
11         surfaceparm noimpact\r
12         surfaceparm nolightmap\r
13         surfaceparm sky\r
14         q3map_sun 1.00 0.90 1.00 50 90 90\r
15         q3map_surfacelight 70\r
16         skyparms env/amethyst7/purplenebula-cmp1/purplenebula - -\r
17 }\r
18 \r
19 //****************************************************//\r
20 //                                                                      //\r
21 //      The rest are modified from Evil_Lair's          //\r
22 //      original shader files.                                  //\r
23 //                                                                      //\r
24 //****************************************************//\r
25 \r
26 textures/cmp1-dm8/e8trimlight2_pur\r
27 {\r
28         qer_editorimage textures/cmp1-dm8/e8trimlight2_pur.tga\r
29         surfaceparm nomarks\r
30         q3map_surfacelight 500\r
31         {\r
32                 map textures/cmp1-dm8/e8trimlight2_pur.tga\r
33         }\r
34         {\r
35                 map $lightmap\r
36                 blendfunc filter\r
37                 tcGen lightmap\r
38         }\r
39 }\r
40 \r
41 textures/cmp1-dm8/e8tinylightpur\r
42 {\r
43         qer_editorimage textures/cmp1-dm8/e8tinylightpur.tga\r
44         surfaceparm nomarks\r
45         q3map_surfacelight 520\r
46         {\r
47                 map textures/cmp1-dm8/e8tinylightpur.tga\r
48         }\r
49         {\r
50                 map $lightmap\r
51                 blendfunc filter\r
52                 tcGen lightmap\r
53         }\r
54 }\r
55 \r
56 textures/cmp1-dm8/e8lighttrim_b_pur\r
57 {\r
58         qer_editorimage textures/cmp1-dm8/e8lighttrim_pur.tga\r
59         surfaceparm nomarks\r
60         q3map_surfacelight 1000\r
61         {\r
62                 map textures/cmp1-dm8/e8lighttrim_pur.tga\r
63         }\r
64         {\r
65                 map $lightmap\r
66                 blendfunc filter\r
67                 tcGen lightmap\r
68         }\r
69 }\r
70 \r
71 textures/cmp1-dm8/e8lighttrim_pur\r
72 {\r
73         qer_editorimage textures/cmp1-dm8/e8lighttrim_p.tga\r
74         surfaceparm nomarks\r
75         q3map_surfacelight 1000\r
76         {\r
77                 map textures/cmp1-dm8/e8lighttrim_p.tga\r
78         }\r
79         {\r
80                 map $lightmap\r
81                 blendfunc filter\r
82                 tcGen lightmap\r
83         }\r
84 }\r
85 \r
86 textures/cmp1-dm8/e8circle_pur\r
87 {\r
88         qer_editorimage textures/cmp1-dm8/e8circle_pur.tga\r
89         surfaceparm noimpact\r
90         surfaceparm nolightmap\r
91         surfaceparm nomarks\r
92         surfaceparm nonsolid\r
93         surfaceparm trans\r
94         nopicmip\r
95         q3map_surfacelight 50\r
96         {\r
97                 clampmap textures/cmp1-dm8/e8circle_pur.tga\r
98                 blendfunc blend\r
99                 rgbGen wave sin 0.9 0.2 0 0.5\r
100                 tcMod rotate 45\r
101         }\r
102 }\r
103 \r
104 textures/cmp1-dm8/e8clangfloor\r
105 {\r
106         surfaceparm metalsteps\r
107         {\r
108                 map $lightmap\r
109                 rgbGen identity\r
110                 tcGen lightmap\r
111         }\r
112         {\r
113                 map textures/cmp1-dm8/e8clangfloor.tga\r
114                 blendfunc filter\r
115                 rgbGen identity\r
116         }\r
117 }\r
118 \r
119 textures/cmp1-dm8/logo\r
120 {\r
121         surfaceparm nomarks\r
122         surfaceparm trans\r
123         surfaceparm pointlight\r
124         nopicmip\r
125         {\r
126                 map textures/cmp1-dm8/logo.tga\r
127                 blendfunc add\r
128                 rgbGen wave sin 0.9 0.2 0 0.2\r
129         }\r
130 }\r
131 \r
132 textures/cmp1-dm8/ame7jp\r
133 {\r
134         q3map_lightimage textures/cmp1-dm8/ame7jp.tga\r
135         surfaceparm nolightmap\r
136         surfaceparm nomarks\r
137         surfaceparm trans\r
138         cull disable\r
139         q3map_surfacelight 150\r
140         {\r
141                 clampmap textures/cmp1-dm8/ame7jp2.tga\r
142                 blendfunc add\r
143                 tcMod rotate 20\r
144         }\r
145         {\r
146                 clampmap textures/cmp1-dm8/ame7jp.tga\r
147                 blendfunc add\r
148                 tcMod rotate -400\r
149         }\r
150 }\r
151 \r
152 textures/cmp1-dm8/ame7glass\r
153 {\r
154         qer_editorimage textures/cmp1-dm8/ame7light.tga\r
155         surfaceparm nomarks\r
156         surfaceparm trans\r
157         cull disable\r
158         qer_trans 0.5\r
159         {\r
160                 map textures/cmp1-dm8/ame7light.tga\r
161                 blendfunc add\r
162                 tcGen environment\r
163         }\r
164         {\r
165                 map $lightmap\r
166                 blendfunc filter\r
167                 tcGen lightmap\r
168         }\r
169 }\r
170 textures/cmp1-dm8/ame7glass_reflect\r
171 {\r
172         qer_editorimage textures/cmp1-dm8/ame7light.tga\r
173         surfaceparm nomarks\r
174         surfaceparm trans\r
175         qer_trans 0.5\r
176         {\r
177                 map textures/cmp1-dm8/ame7light.tga\r
178                 blendfunc blend\r
179                 tcGen environment\r
180         }\r
181         {\r
182                 map $lightmap\r
183                 blendfunc filter\r
184                 tcGen lightmap\r
185         }\r
186         dp_reflect 0 1 0.4 1 0.5\r
187 }\r