-
Notifications
You must be signed in to change notification settings - Fork 419
Expand file tree
/
Copy pathsyntax_1_38.mtlx
More file actions
66 lines (61 loc) · 2.86 KB
/
syntax_1_38.mtlx
File metadata and controls
66 lines (61 loc) · 2.86 KB
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
<?xml version="1.0"?>
<materialx version="1.38">
<tiledimage name="N_tiledimage" type="vector3">
<input name="file" type="filename" value="resources/Images/mesh_wire_norm.png" />
<input name="uvtiling" type="vector2" value="8, 8" />
</tiledimage>
<normalmap name="N_normalmap_1" type="vector3" nodedef="ND_normalmap">
<input name="in" type="vector3" nodename="N_tiledimage" />
</normalmap>
<standard_surface name="N_surface_1" type="surfaceshader">
<input name="base_color" type="color3" value="1.0, 1.0, 1.0" />
<input name="specular_roughness" type="float" value="0" />
<input name="metalness" type="float" value="1" />
<input name="normal" type="vector3" nodename="N_normalmap_1" />
</standard_surface>
<surfacematerial name="N_material_1" type="material">
<input name="surfaceshader" type="surfaceshader" nodename="N_surface_1" />
</surfacematerial>
<normalmap name="N_normalmap_2" type="vector3">
<input name="in" type="vector3" nodename="N_tiledimage" />
<input name="scale" type="float" value="1.1" />
<input name="space" type="string" value="tangent" />
</normalmap>
<standard_surface name="N_surface_2" type="surfaceshader">
<input name="base" type="float" value="0.6" />
<input name="metalness" type="float" value="1.0" />
<input name="specular" type="float" value="0.7" />
<input name="coat" type="float" value="1" />
<input name="normal" type="vector3" nodename="N_normalmap_2" />
</standard_surface>
<surfacematerial name="N_material_2" type="material">
<input name="surfaceshader" type="surfaceshader" nodename="N_surface_2" />
</surfacematerial>
<normal name="N_objectnormal" type="vector3">
<input name="space" type="string" value="object" />
</normal>
<multiply name="N_multiply" type="vector3">
<input name="in1" type="vector3" nodename="N_objectnormal" />
<input name="in2" type="float" value="0.5" />
</multiply>
<add name="N_add" type="vector3">
<input name="in1" type="vector3" nodename="N_multiply" />
<input name="in2" type="float" value="0.5" />
</add>
<normalmap name="N_normalmap_3" type="vector3">
<input name="in" type="vector3" nodename="N_add" />
<input name="space" type="string" value="object" />
</normalmap>
<transformnormal name="N_transformnormal" type="vector3">
<input name="in" type="vector3" nodename="N_normalmap_3" />
<input name="fromspace" type="string" value="object" />
<input name="tospace" type="string" value="world" />
</transformnormal>
<standard_surface name="N_surface_3" type="surfaceshader">
<input name="metalness" type="float" value="1" />
<input name="normal" type="vector3" nodename="N_transformnormal" />
</standard_surface>
<surfacematerial name="N_material_3" type="material">
<input name="surfaceshader" type="surfaceshader" nodename="N_surface_3" />
</surfacematerial>
</materialx>