SET SHADOW SHADING ON
I think that this command depends on a video card.
I may be related to a version of DirectX.
I do not understand a detailed thing.
In other words when it is a different PC, I may not work.
Please test the following programs.
SYNC RATE 30 : sync on
rem floor
make object box 1,1000,1,1000 : position object 1,0,-10,0
rem Make cylinders
make object cylinder 3,60 : position object 3, 0,0,0
set shadow shading on 3,-1,1000,0 ' on/off :[Object Number][Object Number, Mesh Number, Shadow Range, Use Shader]
SET SHADOW POSITION 0,0,0,0 ' =Mode, X, Y, Z
rem Create sphere to represent light
make object sphere 11,10 : COLOR OBJECT 11,rgb(255,0,0): SET OBJECT light 11,2
rem Position camera
position camera 50,50,-400
rem Set light zero as point light
set point light 0,0,0,0 : color light 0,rgb(255,255,0)
rem Move lights past cylinders
do
rem Move light
a#=wrapvalue(a#+1)
x#=cos(a#)*100
position object 11,x#,10,50
position light 0,x#,10,50
sync
loop
end
There is not no problem, and I am displayed.
Other all of you try to test it, too, and please teach a result.