Skip to content

Commit

Permalink
added normalmap_vector2 example to testSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
mnikelsky committed May 17, 2023
1 parent 5a37e0e commit e537b55
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,29 @@
</tiledimage>
<output name="normal" type="vector3" nodename="normalmap" />
</nodegraph>
<standard_surface name="NormalMappedShader2" 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" nodegraph="NormalMapGraph2" />
</standard_surface>
<surfacematerial name="NormalMappedShaderMaterial2" type="material">
<input name="surfaceshader" type="surfaceshader" nodename="NormalMappedShader2" />
<input name="displacementshader" type="displacementshader" value="" />
</surfacematerial>
<nodegraph name="NormalMapGraph2">
<normalmap name="normalmap_vector2" type="vector3">
<input name="in" type="vector3" nodename="tiledimage2" />
<input name="scale" type="vector2" value="1.1, 1.1" />
<input name="space" type="string" value="tangent" />
</normalmap>
<tiledimage name="tiledimage2" type="vector3">
<input name="file" type="filename" value="resources/images/mesh_wire_norm.png" />
<input name="realworldimagesize" type="vector2" value="1.0, 2.0" unit="centimeter" unittype="distance" />
<input name="realworldtilesize" type="vector2" value="3.0, 2.0" unit="centimeter" unittype="distance" />
<input name="uvtiling" type="vector2" value="12, 10" />
</tiledimage>
<output name="normal" type="vector3" nodename="normalmap" />
</nodegraph>
</materialx>

0 comments on commit e537b55

Please sign in to comment.