Squashed commit of the following:
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_newtonian-nightmare.shader
1 //Shader file for Xonotic map Newtonian Nightmare
2 //Copied from exx texture set
3 textures/map_newtonian-nightmare/trimlight_blue_s
4 {
5         qer_editorimage textures/map_newtonian-nightmare/trims/trimlight_blue.tga
6         
7         q3map_bounceScale  0.5
8         dpoffsetmapping - 2
9         dpglossintensitymod  3
10         dpglossexponentmod  4
11
12
13         {
14                 map textures/map_newtonian-nightmare/trims/trimlight_blue.tga
15                 
16
17         }
18         {
19                 map $lightmap
20                 rgbGen identity
21                 tcGen lightmap
22                 blendfunc filter
23         }
24 }
25 textures/map_newtonian-nightmare/trimlight_red_s
26 {
27         qer_editorimage textures/map_newtonian-nightmare/trims/trimlight_red.tga
28         
29         q3map_bounceScale  0.5
30         dpoffsetmapping - 2
31         dpglossintensitymod  3
32         dpglossexponentmod  4
33
34
35         {
36                 map textures/map_newtonian-nightmare/trims/trimlight_red.tga
37                 
38
39         }
40         {
41                 map $lightmap
42                 rgbGen identity
43                 tcGen lightmap
44                 blendfunc filter
45         }
46 }
47 textures/map_newtonian-nightmare/trimlight_green_s
48 {
49         qer_editorimage textures/map_newtonian-nightmare/trims/trimlight_green.tga
50         
51         q3map_bounceScale  0.5
52         dpoffsetmapping - 2
53         dpglossintensitymod  3
54         dpglossexponentmod  4
55
56
57         {
58                 map textures/map_newtonian-nightmare/trims/trimlight_green.tga
59                 
60
61         }
62         {
63                 map $lightmap
64                 rgbGen identity
65                 tcGen lightmap
66                 blendfunc filter
67         }
68 }
69
70 textures/map_newtonian-nightmare/screen_online
71 {
72         qer_editorimage textures/map_newtonian-nightmare/screens/online.tga
73
74         surfaceparm trans
75         surfaceparm nonsolid
76         surfaceparm nodlight
77         surfaceparm nolightmap
78
79         polygonOffset
80         sort 6
81         cull none
82
83         {
84                 map textures/map_newtonian-nightmare/screens/online.tga
85                 blendFunc blend
86                 rgbgen identity
87         }
88 }
89
90 textures/map_newtonian-nightmare/screen_offline
91 {
92         qer_editorimage textures/map_newtonian-nightmare/screens/offline.tga
93
94         surfaceparm trans
95         surfaceparm nonsolid
96         surfaceparm nodlight
97         surfaceparm nolightmap
98
99         polygonOffset
100         sort 6
101         cull none
102
103         {
104                 animmap 1 textures/map_newtonian-nightmare/screens/offline.tga textures/map_newtonian-nightmare/screens/offline_b.tga
105                 blendFunc blend
106                 rgbgen identity
107         }
108 }