Adds a debug effect to the library to make it easier to visualize normal, tangents, and bi-tangents.
The 'default' mode is a simple hemispherical ambient lighting is can be useful for debugging geometry without lighting problems that is still a 3D shape (unlike a single ambient color). This will also be useful for a future extension of DebugEffect that will add normals/tangent frame rendering using the Geometry Shader.
The fact that this effect requires tangents might seem a little restrictive, but that should be resolved by the tangents-in-the-pixel shader solution work in progress
Adds a debug effect to the library to make it easier to visualize normal, tangents, and bi-tangents.
The 'default' mode is a simple hemispherical ambient lighting is can be useful for debugging geometry without lighting problems that is still a 3D shape (unlike a single ambient color). This will also be useful for a future extension of
DebugEffect
that will add normals/tangent frame rendering using the Geometry Shader.