15 minutes ago, skyemaidstone said:
CreateLookAt errors telling me that far must be greater than near.
Any chance of creating the matrix yourself or do you need to use the API method? The best solution would, however, remove that check from the API since this is common practice.
15 minutes ago, skyemaidstone said:
So I don't do anything in the actual depth writing part of the shader?
You need another depth test. The shader code itself stays the same, unless you use the far plane value somewhere. For instance, you have sky texture at the far plane, then you need to use 0.0f instead of 1.0f for the far plane.