|
1 | 1 | <?xml version="1.0"?>
|
2 | 2 | <materialx version="1.39" colorspace="lin_rec709">
|
3 | 3 | <texcoord name="N_texcoord" type="vector2" />
|
4 |
| - <multiply name="N_multiply" type="vector2"> |
| 4 | + <multiply name="N_tiling" type="vector2"> |
5 | 5 | <input name="in1" type="vector2" nodename="N_texcoord" />
|
6 |
| - <input name="in2" type="vector2" value="8, 8" /> |
| 6 | + <input name="in2" type="vector2" value="16, 16" /> |
7 | 7 | </multiply>
|
8 | 8 | <UsdUVTexture name="N_texture_normal" type="multioutput">
|
9 | 9 | <input name="file" type="filename" value="resources/Images/mesh_wire_norm.png" colorspace="none" />
|
10 |
| - <input name="st" type="vector2" nodename="N_multiply" /> |
| 10 | + <input name="st" type="vector2" nodename="N_tiling" /> |
11 | 11 | </UsdUVTexture>
|
12 | 12 | <convert name="N_convert" type="vector3">
|
13 | 13 | <input name="in" type="color3" nodename="N_texture_normal" output="rgb" />
|
14 | 14 | </convert>
|
15 |
| - <normalmap name="N_normalmap" type="vector3"> |
16 |
| - <input name="in" type="vector3" nodename="N_convert" /> |
17 |
| - </normalmap> |
| 15 | + <multiply name="N_scale" type="vector3"> |
| 16 | + <input name="in1" type="vector3" nodename="N_convert" /> |
| 17 | + <input name="in2" type="float" value="2" /> |
| 18 | + </multiply> |
| 19 | + <add name="N_bias" type="vector3"> |
| 20 | + <input name="in1" type="vector3" nodename="N_scale" /> |
| 21 | + <input name="in2" type="float" value="-1" /> |
| 22 | + </add> |
18 | 23 | <UsdPreviewSurface name="N_surface" type="surfaceshader">
|
19 |
| - <input name="normal" type="vector3" nodename="N_normalmap" /> |
20 | 24 | <input name="diffuseColor" type="color3" value="1, 1, 1" />
|
21 | 25 | <input name="metallic" type="float" value="1" />
|
22 |
| - <input name="roughness" type="float" value="0.001" /> |
| 26 | + <input name="roughness" type="float" value="0.1" /> |
| 27 | + <input name="normal" type="vector3" nodename="N_bias" /> |
23 | 28 | </UsdPreviewSurface>
|
24 | 29 | <surfacematerial name="N_material" type="material">
|
25 | 30 | <input name="surfaceshader" type="surfaceshader" nodename="N_surface" />
|
|
0 commit comments