Shadow mapping in Vulkan issue
gamedev.net
Hi all,I am trying to do shadow mapping in vulkan however, the result I am getting is not correct. For shadow mapping we can use a sampler2DShadow and textureProj which is what I am doing but the result comes out incorrect.I have verified that my LightSpaceMatrix is correct. I have implemented shadow mapping my doing the depth comparisons myself and the result was correct but I want to use textureProj and a sampler2DShadow for smaller code for shadow mapping.Wondering if
0 Comments ·0 Shares ·73 Views