# Minimal D3D11 elaborations II [![minimald3d11pt3](https://user-images.githubusercontent.com/5618797/197362544-685b5823-3637-4906-ae1d-929eb0f7e351.png)](https://gist.github.com/d7samurai/abab8a580d0298cb2f34a44eec41d39d) Expanding on [Minimal D3D11 elaborations I](https://gist.github.com/d7samurai/aee35fd5d132c51e8b0a78699cbaa1e4), adding shadowmapping and incorporating various improvements and alternative approaches to the rendering setup, such as [manual vertex fetching](https://gist.github.com/d7samurai/abab8a580d0298cb2f34a44eec41d39d#file-shaders-hlsl-L54), [samplerless texture lookup](https://gist.github.com/d7samurai/abab8a580d0298cb2f34a44eec41d39d#file-shaders-hlsl-L81), [null shader depth map rendering](https://gist.github.com/d7samurai/abab8a580d0298cb2f34a44eec41d39d#file-code-cpp-L312) and [procedurally generated texture](https://gist.github.com/d7samurai/abab8a580d0298cb2f34a44eec41d39d#file-shaders-hlsl-L78) and [instance data](https://gist.github.com/d7samurai/abab8a580d0298cb2f34a44eec41d39d#file-shaders-hlsl-L38). Like the mainline [Minimal D3D11](https://gist.github.com/d7samurai/261c69490cce0620d0bfc93003cd1052) series, this is intended to be an an "API familiarizer" - an **uncluttered** Direct3D 11 setup & basic rendering reference implementation, as a complete, runnable Windows application contained in a single function and laid out in a linear, step-by-step fashion. No modern C++ / OOP or (other) obscuring cruft, only ~190 LOC. [View on YouTube](https://youtu.be/Oj_umRjZ7NU)