A DX11(DX12 will be supported later) renderer for prototype.
Currently ProtoCore.vcxproj is the main project, it should be just a core library and referenced by other projects, but for the moment, let's leave it like this.
Before you launch this project, here are few steps that you need to do.
- Set working directory as $(OutDir)
- Physical based rendering
- Dynamic global illumination
- Deferred shading
- Right hand coordinate system
- Column major matrix
- Matrix multiplication : post-multiply (or right multiply), same rule applied on c++ and HLSL
- Make all lightings in world space
I had integrate renderdoc 0.2.6 for shader debugging. Launch with parameter -renderdoc
or /renderdoc
, then renderdoc.dll will be loaded. Use key c
to have a capture. Captured file will be saved in Your working directory/renderdoc
.
- Deferred context not work well with renderdoc, can't display mesh correctly in mesh view due to the missing information of index buffer.