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.45k stars 371 forks source link

"Writing custom shaders" tutorial #100

Closed walbourn closed 2 years ago

walbourn commented 2 years ago

The DirectX 11 [writing custom shaders]() tutorial demonstrates how to write your own pixel shaders for SpriteBatch. The actual sample there is 'redundant' because of PostProcess, but it's still a good lesson.

I had originally assumed if you did that lesson you'd know what to do for DX12, but I should add a DX12 tutorial to address the issues of root signatures, the different way you need to create your own PSO for SpriteBatch, and FXC.EXE vs. DXC.EXE.

walbourn commented 2 years ago

This is in progress

https://github.com/microsoft/DirectXTK12/wiki/Writing-custom-shaders