The shadows are broken (compile error in Base.cg)
Base.cg line 240:
oColor *= shadow(shadowMap2, shadowPos2);// + float4(0.1, 0.1, 0, 1);
I changed it to:
oColor *= shadowPCF9(shadowMap2, shadowPos2, invShadowMapSize2.xy);// + float4(0.1, 0.1, 0, 1);
this fixed the shadows.
Another fix would be to comment out the parameter "invShadowMapSize2" in Base.program
The shadows are broken (compile error in Base.cg)
Base.cg line 240:
I changed it to:
this fixed the shadows.
Another fix would be to comment out the parameter "invShadowMapSize2" in Base.program