If I use a direct light source - shadows displays normal, if spotLight - shadow and light displays in the inversion. The picture below it shows.
Code: Select all
CreateLight(222,RGB(200,200,200),32,75,200,#PB_Light_Directional): LightLookAt(222,52,10,240)
WorldShadows( #PB_Shadow_Modulative, 70, RGB(120,120,120))
Code: Select all
CreateLight(223,RGB(200,200,200),38,94,165,#PB_Light_Spot)
SpotLightRange(223,20,240): LightDirection(223,1,-1,1)
WorldShadows( #PB_Shadow_Modulative, 70, RGB(120,120,120))
I can not put all the source code, but maybe someone has an idea why this happens?
