AHA! Found the solution! I added this line into func_main before the loop:

shadow_stencil = 2;

which is good!


I am a noob to this... Blitz3D is where i am best at!