Files
metabuilder/gameengine/packages/materialx/libraries
johndoe6345789 6fbc47a2db feat: Add SDL3CPlusPlus game engine to gameengine/
Import SDL3CPlusPlus C++ game engine with:
- SDL3 + bgfx rendering backend
- Vulkan/Metal/DirectX shader support
- MaterialX material system
- Scene framework with ECS architecture
- Comprehensive test suite (TDD approach)
- Conan package management
- CMake build system

This provides the native C++ foundation for the Universal Platform's
Game and 3D capability modules.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 16:29:20 +00:00
..

MaterialX Data Libraries

This folder contains the standard data libraries for MaterialX, providing declarations and graph definitions for the MaterialX nodes, and source code for all supported shader generators.

Standard Pattern Library

Physically Based Shading Library

BxDF Graph Library

Color Management Library

  • MaterialX shader generation natively supports a small set of common spaces for input colors, with all color transforms implemented as language-independent MaterialX graphs.The canonical definitions of these color transforms may be found in the OpenColorIO configuration for ACES 1.2.
    • lin_rec709
    • g18_rec709
    • g22_rec709
    • rec709_display
    • acescg (lin_ap1)
    • g22_ap1
    • srgb_texture
    • lin_adobergb
    • adobergb
    • srgb_displayp3
    • lin_displayp3
  • cmlib

Target Definitions

  • Each target implementation requires a target definition for declaration / implementation correspondence to work.
  • The targets folder contains definition files for the following core targets:
    • GLSL : genglsl
    • OSL : genosl
    • MDL : genmdl
    • MSL : genmsl
  • Any additional target files should be added under this folder and loaded in as required.

Target Support

  • GLSL target support is for version 4.0 or higher.
  • OSL target support is for version 1.9.10 or higher.
  • MDL target support is for version 1.7.
  • Basic GLSL and MSL lightshader node definitions and implementations are provided for the following light types:
    • point, directional, spot
  • Shader generation does not currently support:
    • ambientocclusion node.
    • arrayappend node.
    • curveadjust node.
    • displacementshader and volumeshader nodes for hardware shading targets (GLSL, MSL).