forked from stuntrally/stuntrally3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hud.material
247 lines (216 loc) · 4.79 KB
/
hud.material
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
// gauge base
hlms hud_base unlit
{
// diffuse_map mud.png
// alpha_rejection greater 64
depth_write off
depth_check off
scene_blend alpha_blend
cull_mode none
alpha_rejection none
}
hlms hud_0 unlit : hud_base
{
diffuse_map gauges0.png
}
hlms hud_1 unlit : hud_base
{
diffuse_map gauges1.png
}
hlms hud_2 unlit : hud_base
{
diffuse_map gauges2.png
}
hlms hud_3 unlit : hud_base
{
diffuse_map gauges3.png
}
hlms hud_4 unlit : hud_base
{
diffuse_map gauges4.png
}
hlms hud_5 unlit : hud_base
{
diffuse_map gauges5.png
}
// 🌍 minimap
hlms hud/minimap unlit
{
diffuse 1 1 1
scene_blend alpha_blend
cull_mode none
diffuse_map road.png
// diffuse_map terrain.jpg
}
hlms hud/CarPos unlit
{
diffuse 1 1 1
scene_blend alpha_blend
cull_mode none
diffuse_map carpos0.png
}
hlms hud/Times unlit : hud_base
{
diffuse_map border_rect.png
}
hlms hud/line unlit : hud_base
{
// diffuse vertexcolour
}
hlms circle_minimap unlit : hud_base
{
// diffuse_map road.png
}
// 🚦 3d road Pacenote signs
hlms pacenote unlit
{
diffuse 1 1 1
// depth_bias 3
depth_write off
// depth_check off
cull_mode none
scene_blend alpha_blend
alpha_rejection greater 64
// fog_override true // no fog-
diffuse_map pacenotes.png
}
// 🎗️ 3d Trail Racing line ~~--
hlms trailRoad unlit
{
// diffuse 1 1 1
diffuse 0.8 0.8 0.8 // par?
depth_bias 3
cull_mode none
// scene_blend alpha_blend
}
// 📉 graphs
//---------------------------------------------------------------------------
hlms graphB unlit : hud_base
{
// diffuse 0 1 0
specular 0 0 0
depth_check off
depth_write off
scene_blend alpha_blend
cull_mode none
}
hlms graph0 unlit : graphB { diffuse 1.0 1.0 1.0 }
hlms graph1 unlit : graphB { diffuse 0.0 1.0 1.0 }
hlms graph2 unlit : graphB { diffuse 0.0 1.0 0.0 }
hlms graph3 unlit : graphB { diffuse 1.0 1.0 0.0 }
hlms graph4 unlit : graphB { diffuse 1.0 0.5 0.0 }
hlms graph5 unlit : graphB { diffuse 1.0 0.0 0.0 }
hlms graph6 unlit : graphB { diffuse 1.0 1.0 1.0 }
hlms graph7 unlit : graphB { diffuse 1.0 0.5 1.0 }
hlms graph8 unlit : graphB { diffuse 0.5 0.5 1.0 }
hlms graphA0 unlit : graphB { diffuse 0.9 1.0 1.0 }
hlms graphA1 unlit : graphB { diffuse 0.8 1.0 1.0 }
hlms graphA2 unlit : graphB { diffuse 0.6 1.0 1.0 }
hlms graphA3 unlit : graphB { diffuse 0.4 1.0 1.0 }
hlms graphA4 unlit : graphB { diffuse 0.2 0.8 1.0 }
hlms graphA5 unlit : graphB { diffuse 0.2 0.6 1.0 }
hlms graphA6 unlit : graphB { diffuse 0.2 0.4 1.0 }
hlms graphA7 unlit : graphB { diffuse 0.2 0.2 1.0 }
hlms graphB0 unlit : graphB { diffuse 1.0 1.0 0.9 }
hlms graphB1 unlit : graphB { diffuse 1.0 1.0 0.6 }
hlms graphB2 unlit : graphB { diffuse 1.0 1.0 0.3 }
hlms graphB3 unlit : graphB { diffuse 1.0 1.0 0.0 }
hlms graphB4 unlit : graphB { diffuse 1.0 0.8 0.0 }
hlms graphB5 unlit : graphB { diffuse 1.0 0.6 0.0 }
hlms graphB6 unlit : graphB { diffuse 1.0 0.4 0.0 }
hlms graphB7 unlit : graphB { diffuse 1.0 0.2 0.0 }
hlms graphBack unlit : hud_base { diffuse 0 0 0 }
hlms graphGrid unlit : hud_base { diffuse 1 1 1 }
// editor rtt road
//---------------------------------------------------------------------------
hlms ed_RoadDens unlit
{
diffuse 1 1 1
diffuse_map white.png
cull_mode none
}
hlms ed_RoadPreview unlit
{
diffuse 1 1 1
diffuse_map white.png
cull_mode none
}
hlms ed_Rtt_0 unlit
{
// diffuse_map RttTex0 // set in cpp
diffuse 1 1 1
cull_mode none
}
hlms ed_Rtt_1 unlit
{
diffuse 1 1 1
cull_mode none
}
hlms ed_Rtt_2 unlit
{
diffuse 1 1 1
cull_mode none
}
hlms ed_Rtt_3 unlit
{
diffuse 1 1 1
cull_mode none
}
hlms ed_Rtt_4 unlit
{
diffuse 1 1 1
cull_mode none
}
hlms ed_Bck unlit
{
diffuse 0.05 0.1 0.2
cull_mode none
}
// ⛰️ Terrain prv img
hlms edBrush unlit
{
// diffuse_map BrushTex // set in cpp
diffuse 1 1 1
cull_mode none
scene_blend alpha_blend
alpha_rejection greater 2
}
hlms edTerGen unlit
{
// diffuse_map TerGenTex // set in cpp
diffuse 1 1 1
cull_mode none
}
// ⛰️📍 terrain edit circle o
//------------------------------------------------------------
hlms circle_deform unlit
{
diffuse_map ter_deform.png
diffuse 0.2 0.8 0.0
depth_bias 3
cull_mode none
// fog_en false
}
hlms circle_height unlit
{
diffuse_map ter_height.png
diffuse 0.5 1.0 0.5
// emissive 0.3 0.5 0.3
// specular 0.25 0.3 0.25
depth_bias 3
cull_mode none
}
hlms circle_smooth unlit
{
diffuse_map ter_smooth.png
diffuse 0.0 0.9 0.8
depth_bias 3
cull_mode none
}
hlms circle_filter unlit
{
diffuse_map ter_filter.png
diffuse 0.4 0.7 1.0
depth_bias 3
cull_mode none
}