Does MaterialX / Karma use OpenGL or DirectX tangent-space normals?
MaterialX expects OpenGL (+Y) tangent-space normal maps. Convert DirectX (-Y) maps first or invert the green channel before mtlxnormalmap.
USD / MaterialX Shader Generator
Build standards-compliant MaterialX 1.38 XML graphs for Houdini Solaris and Karma XPU in seconds: configure color3/float/vector3 mtlximage signatures, UDIM filename tokens, displacement scale, and copy clean .mtlx code.
<?xml version="1.0"?>
<materialx version="1.38">
<!-- Houdini Solaris / Karma XPU MaterialX PBR Graph -->
<image name="WeatheredBrick_albedo" type="color3">
<input name="file" type="filename" value="textures/WeatheredBrick_albedo.<UDIM>.png" colorspace="srgb_texture" />
</image>
<image name="WeatheredBrick_rough" type="float">
<input name="file" type="filename" value="textures/WeatheredBrick_roughness.<UDIM>.png" colorspace="none" />
</image>
<image name="WeatheredBrick_normal_tex" type="vector3">
<input name="file" type="filename" value="textures/WeatheredBrick_normal.<UDIM>.png" colorspace="none" />
</image>
<normalmap name="WeatheredBrick_normal" type="vector3">
<input name="in" type="vector3" nodename="WeatheredBrick_normal_tex" />
<input name="scale" type="float" value="1.0" />
<!-- OpenGL +Y tangent space matches MaterialX -->
</normalmap>
<standard_surface name="WeatheredBrick_shader" type="surfaceshader">
<input name="base_color" type="color3" nodename="WeatheredBrick_albedo" />
<input name="specular_roughness" type="float" nodename="WeatheredBrick_rough" />
<input name="normal" type="vector3" nodename="WeatheredBrick_normal" />
</standard_surface>
<displacement name="WeatheredBrick_disp" type="displacementshader">
<input name="scale" type="float" value="0.02" />
</displacement>
</materialx>| PBR Map | mtlximage Type | Color Space | Target Port |
|---|---|---|---|
| Base Color | color3 | srgb_texture | mtlxstandard_surface.base_color |
| Roughness | float | none (Raw) | mtlxstandard_surface.specular_roughness |
| Normal Map | vector3 | none (Raw) | mtlxnormalmap → standard_surface.normal |
| Displacement | float | none (Raw) | mtlxdisplacement.displacement |
Karma XPU enforces strict type matching across USD MaterialX nodes. Feeding a color3 texture straight into specular_roughness or normal without float/vector3 signatures fails validation—explicitly declaring color3, float, and vector3 guarantees clean CPU and XPU rendering.
Enable Append <UDIM> Filename Token to automatically format file paths for Houdini Solaris multi-tile look-dev without manual regex edits.
MaterialX expects OpenGL (+Y) tangent-space normal maps. Convert DirectX (-Y) maps first or invert the green channel before mtlxnormalmap.
It prevents OCIO from applying an sRGB/ACES transfer function to linear roughness, metallic, normal, and displacement data.
Yes. Save it as a .mtlx file and load it via a MaterialX Reference or Sublayer LOP inside Solaris.
Yes—our local workbench exports clean OpenGL (+Y) normals alongside linear Height, AO, and Roughness maps.
Optional Google Analytics
Accept loads Google Analytics 4 for traffic and conversion measurement. Reject keeps it off. Necessary first-party product events and the cookie-free pageview counter remain active. This choice never enables advertising.