roughness_test.mtlx 850 B

1234567891011121314151617
  1. <?xml version="1.0"?>
  2. <materialx version="1.39">
  3. <surfacematerial name="mat_roughness_test" type="material" nodedef="ND_surfacematerial">
  4. <input name="surfaceshader" type="surfaceshader" nodename="surface_shader1" />
  5. </surfacematerial>
  6. <standard_surface name="surface_shader1" type="surfaceshader" nodedef="ND_standard_surface_surfaceshader">
  7. <input name="base_color" type="color3" value="0.8, 0.8, 0.8" />
  8. <input name="roughness" type="float" output="out" nodegraph="roughness_map" />
  9. </standard_surface>
  10. <nodegraph name="roughness_map">
  11. <image name="roughness_image" type="float">
  12. <input name="file" type="filename" value="resources/Images/grid.png" />
  13. <input name="default" type="float" value="0.5" />
  14. </image>
  15. <output name="out" type="float" nodename="roughness_image" />
  16. </nodegraph>
  17. </materialx>
粤ICP备19079148号