summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/floater_material_editor.xml
blob: 0a05a4f868149bf2c54bf8822b4f917b06f0e83d (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
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
 legacy_header_height="18"
 can_resize="false"
 default_tab_group="1"
 height="887"
 layout="topleft"
 name="material editor"
 help_topic="material_editor"
 title="[MATERIAL_NAME]"
 width="256">
  <string name="no_upload_fee_string">no upload fee</string>
  <string name="upload_fee_string">L$[FEE] upload fee</string>
  <check_box
          follows="left|top"
          label="Double Sided"
          left="14"
          top="14"
          name="double sided"
          height="25"
          width="120" />
  <panel
    border="true"
         follows="left|top"
         width="246"
         height="196"
         layout="topleft"
         left="5"
         mouse_opaque="false"
         name="albedo_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">
    Albedo:
  </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="albedo_texture"
             tool_tip="Albedo 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="albedo_upload_fee"
             >
      No upload fee
    </text>
  <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_pad="5"
             top="8"
             >
    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="albedo color"
                    width="40" />
    <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_delta="0"
             top_pad="5"
             width="96"
             >
      Transparency
    </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"
             name="label alphamode"
             text_readonly_color="LabelDisabledColor"
             top_pad="5"
             width="90">
      Alpha mode
    </text>
    <combo_box
     height="23"
     layout="topleft"
     left_delta="0"
     name="alpha mode"
     top_pad="4"
     width="96">
      <combo_box.item
       label="None"
       name="None"
       value="OPAQUE" />
      <combo_box.item
       label="Alpha blending"
       name="Alpha blending"
       value="BLEND" />
      <combo_box.item
       label="Alpha masking"
       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"
             >
      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="5"
         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"
             >
    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"
             >
    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"
             >
      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="5"
         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">
      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"
             >
      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" />
    <!--<text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             width="64"
             layout="topleft"
             left_delta="0"
             top_pad="5"
             >
      Intensity
    </text>
    <spinner
               decimal_digits="3"
               follows="left|top"
               height="19"
               increment="0.01"
               initial_value="0"
               layout="topleft"
               left_delta="0"
               top_pad="5"
               max_val="100"
              width="64"
             />-->
  </panel>
  <panel
    border="true"
         follows="left|top"
         width="246"
         height="175"
         layout="topleft"
         left="5"
         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">
      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
         follows="right|bottom"
         width="246"
         height="97"
         layout="bottomright"
         top_delta="-2"
         left="5"
         name="button_panel"
         >
    <text
               type="string"
               name="unsaved_changes"
               font.style="BOLD"
               text_color="DrYellow"
               length="1"
               follows="left|top"
               height="10"
               width="200"
               layout="topleft"
               left="10"
               top="0"
           >
      Usaved changes
    </text>
    <button
               follows="left|top"
               height="25"
               label="Save"
               layout="topleft"
               name="save"
               top_pad="7"
               left="0"
               width="120" />
    <button
               follows="left|top"
               height="25"
               label="Save As..."
               layout="topleft"
               name="save_as"
               top_delta="0"
               left_pad="6"
               width="120" />
    <text
               type="string"
               font.style="BOLD"
               length="1"
               follows="left|top"
               height="10"
               width="220"
               layout="topleft"
               left="10"
               top_pad="5"
               name="total_upload_fee"
           >
      Total upload fee: L$ [FEE]
    </text>
    
    <view_border
        bevel_style="none"
        height="0"
        layout="topleft"
        left="0"
        name="button_border"
        top_pad="7"
        width="246"/>
    
    <button
               follows="left|top"
               height="25"
               label="Cancel"
               layout="topleft"
               name="cancel"
               top_pad="7"
               left="61"
               width="121" />
  </panel>
</floater>