Why is my shadowmap all white?
- by Berend
I was trying out a shadowmap. But all my shadow is white. I think there is some problem with my homogeneous component. Can anybody help me? The rest of my code is written in xna
Here is the hlsl code I used
float4x4 xWorld;
float4x4 xView;
float4x4 xProjection;
struct VertexToPixel
{
float4 Position : POSITION;
float4 ScreenPos :…