This repository contains the Prototype MaterialX Viewer (MaterialXView), which leverages ShaderX to generate GLSL shaders from MaterialX graphs, rendering the results using the NanoGUI framework. Both the standard set of MaterialX nodes and the PBR node set in ShaderX are supported.
Standard Surface Shader with procedural and uniform materials
Standard Surface Shader with textured, color-space-managed materials
- Download the latest version of the CMake build system.
- Point CMake to the root of the MaterialX library and generate C++ projects for your platform and compiler.
- Select the
MATERIALX_BUILD_VIEWERoption to build MaterialXView.
- The main MaterialX repository
- The latest ShaderX specification
- The MaterialX graph for the Standard Surface shader
- An example MaterialX graph for procedural marble