You're right, I read a lot, but I forget most of what I just read eg. about differences between z-pass & z-fail shadows, now work it (see the screenshot, the dynamic light is far far away)

In Manual under remarks about stencil shadows:
> Z-fail stencil shadows ... "A script can be used for tracing a ray from a light source to the camera, and automatically switching to z-fail (You mean to z-pass or I´m wrong?) shadows when the ray hits an obstacle.
Perhaps is there possible to add this as new features like this:
shadow_stencil = -2; or shadow_stencil = -4;
The z-fail stencil shadows will be automatic switching to the z-pass stencil shadows when the light source come close to the camera, without extra coding?


Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P