texture_opacity_test.mtlx 991 B

12345678910111213141516171819
  1. <?xml version="1.0"?>
  2. <materialx version="1.39">
  3. <surfacematerial name="mat_texture_opacity_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.2, 0.6, 0.8" />
  8. <input name="opacity" type="float" output="out" nodegraph="opacity_texture_graph" />
  9. <input name="specular_roughness" type="float" value="0.2" />
  10. <input name="metalness" type="float" value="0.0" />
  11. </standard_surface>
  12. <nodegraph name="opacity_texture_graph">
  13. <image name="opacity_texture" type="float">
  14. <input name="file" type="filename" value="resources/Images/grid.png" />
  15. <input name="default" type="float" value="1.0" />
  16. </image>
  17. <output name="out" type="float" nodename="opacity_texture" />
  18. </nodegraph>
  19. </materialx>
粤ICP备19079148号