microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.47k stars 393 forks source link

Model support for PBR SDKMESH variant materials #46

Closed walbourn closed 5 years ago

walbourn commented 5 years ago

The current EffectFactory creates standard BasicEffect, NormalMapEffect, etc. material for sdkmesh files since this is the traditional Lambert/Phong material model they use.

This work item is to add a variant of sdkmesh that supports PBR material definitions, as well as to create a PBREffectFactory to use to load models with PBR materials.

walbourn commented 5 years ago

Implemented by this pull request