Here my outside main loop code to set the light and shadows!
I tried to use "set normalization on" command but nothing changing! :\
` make a sun object up in the sky to the right somewhere
make object sphere 5000, 50
position object 5000, -1300, pos_sole_y, -1600 rem y= 6000
` for DBPro shadows you need to use one of lights 1 to 8 not the default light 0
make light 1
set point light 1, object position x(5000), object position y(5000), object position z(5000)
set light range 1, 220000
` you also probably need to hide light 0
hide light 0
rem SET SHADOW SHADING ON Object Number, Mesh Number, Shadow Range, Use Shader
` set up the man shadows
FOR a = 1000 to last_man
set shadow shading on a,-1,100,1 rem -1, 300, 0
NEXT
FOR a = 2000 to last_building
set shadow shading on a,-1,100,1 rem -1, 300, 0
NEXT
FOR a = 3000 to last_tree
set shadow shading on a,-1,100,1 rem -1, 300, 0
NEXT
set shadow position 1, object position x(5000), object position y(5000), object position z(5000)