Advertisement

Shadow problem in directx11

Started by December 07, 2024 05:44 PM
10 comments, last by Sekt4nt 3 weeks, 4 days ago

@MitsubishiMagna Forget, I solved the problem




After this line → float2 shadowUV = lightPos.xy * 0.5f + 0.5f;
I should been write this → shadowUV.y = 1 - shadowUV.y;

None

Advertisement