Skip to content

A simple demo to show off the capabilities of the Cauldron framework

License

Notifications You must be signed in to change notification settings

metashade/glTFSample

 
 

Repository files navigation

glTFSample

This is a fork of glTFSample, originally developed by AMD to show off the capabilities of the Cauldron framework.

This fork serves as the C++ host application for sample shaders generated by metashade-glTFSample, demonstrating Metashade in action.

This repo is a submodule of metashade-glTFSample. See the parent repo for build instructions.

The original glTFSample uses the traditional ubershader/preprocessor approach for its scene/PBR pass shaders. In this fork, the HLSL ubershader can be overridden with concrete shader permutations generated by metashade-glTFSample per glTF material and mesh primitive.

Screenshot

Command-line interface

--metashade-out-dir  Path to the output directory of the Metashade generator.

To use shaders generated by metashade-glTFSample, point --metashade-out-dir at the output directory. If omitted, the original HLSL ubershader is used for rendering.

About

A simple demo to show off the capabilities of the Cauldron framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 96.2%
  • CMake 2.9%
  • Batchfile 0.9%