summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/panel_gltf_material.xml
blob: 45df40bc05624e545fcb1ce869a8071d5cfc196d (plain)
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
 layout="topleft"
 follows="left|top|right"
 border="false"
 name="panel_gltf_material"
 top="0"
 left="0"
 height="768"
 width="247">
  <check_box
    follows="left|top"
    layout="topleft"
    label="Double Sided"
    left="10"
    top="0"
    name="double sided"
    height="25"
    width="120" />
  <panel
    border="true"
    follows="left|top"
    width="246"
    height="196"
    layout="topleft"
    left="1"
    mouse_opaque="false"
    name="base_color_texture_pnl"
    top_pad="5"
         >
    <text
      type="string"
      font.style="BOLD"
      length="1"
      follows="left|top"
      height="10"
      layout="topleft"
      left="10"
      top="5"
      width="128"
      name="base_color_lbl">
      Base Color:
    </text>
    <texture_picker
      can_apply_immediately="true"
      default_image_name="Default"
      fallback_image="materials_ui_x_24.png"
      allow_no_texture="true"
      follows="left|top"
      top_pad="8"
      height="151"
      layout="topleft"
      left="10"
      name="base_color_texture"
      tool_tip="Base Color map.  Alpha channel is optional and used for transparency."
      width="128" />
    <text
      type="string"
      font.style="BOLD"
      length="1"
      follows="left|top"
      height="10"
      width="128"
      layout="topleft"
      left="10"
      top_pad="-17"
      name="base_color_upload_fee">
      No upload fee
    </text>
    <text
      type="string"
      length="1"
      follows="left|top"
      height="10"
      layout="topleft"
      left_pad="5"
      top="8"
      name="base_color_tint_lbl">
      Tint
    </text>
    <color_swatch
      can_apply_immediately="true"
      follows="left|top"
      height="40"
      label_height="0"
      layout="topleft"
      left_delta="0"
      top_pad="5"
      name="base color"
      width="40" />
    <text
      type="string"
      length="1"
      follows="left|top"
      height="10"
      layout="topleft"
      left_delta="0"
      top_pad="5"
      width="96"
      name="base_color_transparency_lbl">
      Alpha
    </text>
    <spinner
      decimal_digits="3"
      follows="left|top"
      height="19"
      increment="0.01"
      initial_value="1"
      layout="topleft"
      left_delta="0"
      top_pad="5"
      min_val="0"
      max_val="1"
      name="transparency"
      width="64"/>
    <text
      type="string"
      length="1"
      follows="left|top"
      height="10"
      layout="topleft"
      left_delta="0"
      text_readonly_color="LabelDisabledColor"
      top_pad="5"
      width="90"
      name="alpha_mode_lbl">
      Alpha mode
    </text>
    <combo_box
     height="23"
     layout="topleft"
     left_delta="0"
     name="alpha mode"
     top_pad="4"
     width="89">
      <combo_box.item
       label="Opaque"
       name="None"
       value="OPAQUE" />
      <combo_box.item
       label="Blend"
       name="Alpha blending"
       value="BLEND" />
      <combo_box.item
       label="Mask"
       name="Alpha masking"
       value="MASK" />
    </combo_box>
    <text
      type="string"
      length="1"
      follows="left|top"
      height="10"
      layout="topleft"
      left_delta="0"
      top_pad="5"
      width="96"
      name="alpha_cutoff_lbl">
      Alpha Cutoff
    </text>
    <spinner
      decimal_digits="3"
      follows="left|top"
      height="19"
      increment="0.01"
      initial_value="1"
      layout="topleft"
      left_delta="0"
      top_pad="5"
      min_val="0"
      max_val="1"
      name="alpha cutoff"
      width="64"/>
  </panel>
  <panel
    border="true"
    follows="left|top"
    width="246"
    height="175"
    layout="topleft"
    left="1"
    mouse_opaque="false"
    name="metallic_texture_pnl"
    top_pad="5">
    <text
      type="string"
      font.style="BOLD"
      length="1"
      follows="left|top"
      height="10"
      layout="topleft"
      left="10"
      top="5"
      name="metallic_roughness_lbl">
      Metallic-Roughness:
    </text>
    <texture_picker
      can_apply_immediately="true"
      default_image_name="Default"
      fallback_image="materials_ui_x_24.png"
      allow_no_texture="true"
      follows="left|top"
      width="128"
      height="151"
      layout="topleft"
      left="10"
      name="metallic_roughness_texture"
      tool_tip="GLTF metallic-roughness map with optional occlusion.  Red channel is occlusion, green channel is roughness, blue channel is metalness."
      top_pad="8"/>
    <text
      type="string"
      font.style="BOLD"
      length="1"
      follows="left|top"
      height="10"
      width="128"
      layout="topleft"
      left="10"
      top_pad="-17"
      name="metallic_upload_fee">
      No upload fee
    </text>
    <text
      type="string"
      length="1"
      follows="left|top"
      height="10"
      layout="topleft"
      left_pad="5"
      top="8"
      name="metallic_factor_lbl">
      Metallic Factor
    </text>
    <spinner
      decimal_digits="3"
      follows="left|top"
      height="19"
      increment="0.01"
      initial_value="0"
      layout="topleft"
      left_delta="0"
      top_pad="5"
      min_val="0"
      max_val="1"
      name="metalness factor"
      width="64"/>
    <text
      type="string"
      length="1"
      follows="left|top"
      height="10"
      layout="topleft"
      left_delta="0"
      top_pad="5"
      width="96"
      name="roughness_factor_lbl">
      Roughness Factor
    </text>
    <spinner
      decimal_digits="3"
      follows="left|top"
      height="19"
      increment="0.01"
      initial_value="0"
      layout="topleft"
      left_delta="0"
      top_pad="5"
      min_val="0"
      max_val="1"
      name="roughness factor"
      width="64"/>
  </panel>
  <panel
    border="true"
    follows="left|top"
    width="246"
    height="175"
    layout="topleft"
    left="1"
    mouse_opaque="false"
    name="emissive_texture_pnl"
    top_pad="5">
    <text
      type="string"
      font.style="BOLD"
      length="1"
      follows="left|top"
      height="10"
      layout="topleft"
      left="10"
      top="5"
      width="64"
      name="emissive_lbl">
      Emissive:
    </text>
    <texture_picker
      can_apply_immediately="true"
      default_image_name="Default"
      fallback_image="materials_ui_x_24.png"
      allow_no_texture="true"
      follows="left|top"
      top_pad="8"
      height="151"
      layout="topleft"
      left="10"
      name="emissive_texture"
      width="128" />
    <text
      type="string"
      font.style="BOLD"
      length="1"
      follows="left|top"
      height="10"
      width="128"
      layout="topleft"
      left="10"
      top_pad="-17"
      name="emissive_upload_fee">
      No upload fee
    </text>
    <text
      type="string"
      length="1"
      follows="left|top"
      height="10"
      layout="topleft"
      left_pad="5"
      top="8"
      name="emissive_tint_lbl">
      Tint
    </text>
    <color_swatch
     can_apply_immediately="true"
     follows="left|top"
     height="40"
     label_height="0"
     layout="topleft"
     left_delta="0"
     top_pad="5"
     name="emissive color"
     width="40" />
  </panel>
  <panel
    border="true"
    follows="left|top"
    width="246"
    height="175"
    layout="topleft"
    left="1"
    mouse_opaque="false"
    top_pad="5"
    name="normal_texture_pnl">
    <text
      type="string"
      font.style="BOLD"
      length="1"
      follows="left|top"
      height="10"
      layout="topleft"
      left="10"
      top="5"
      width="64"
      name="normal_lbl">
      Normal:
    </text>
    <texture_picker
      can_apply_immediately="true"
      default_image_name="Default"
      fallback_image="materials_ui_x_24.png"
      allow_no_texture="true"
      follows="left|top"
      top_pad="8"
      height="151"
      layout="topleft"
      left="10"
      name="normal_texture"
      width="128" />
    <text
      type="string"
      font.style="BOLD"
      length="1"
      follows="left|top"
      height="10"
      width="128"
      layout="topleft"
      left="10"
      top_pad="-17"
      name="normal_upload_fee">
      No upload fee
    </text>
  </panel>
</panel>