Hi there. Have a look to this glowing effect without shader.Attached complete example.
autocam off
sync on
color backdrop rgb(0,0,0)
ink rgb(255,0,0),1:box 0,0,38,38
get image 1,0,0,38,38
set ambient light 0:hide light 0:make light 1:position light 1,50,15,50:set light range 1,50
load image "glow.bmp",2
make object box 1,50,0,50
texture object 1,2
set light mapping on 1,1
set blend mapping on 1,1,5
set object transparency 1,2
`image for the floor
ink rgb(20,80,20),1
box 0,0,50,50
ink rgb(25,9,25),1
box 10,10,40,40
get image 3,0,0,50,50,1
`floor
make matrix 1,500,500,50,50
position matrix 1,-150,-1,-150
prepare matrix texture 1,3,3,3
make object box 2,10,10,10
position object 2,30,5,30
glow=1000
make object box glow,0,0,0
position camera -10,50,-50
point camera 0,0,0
do
move object glow,0.5
if object position z(glow)>255 then xrotate object glow,180
if object position z(glow)<5 then xrotate object glow,0
rem here we make the glow effect just modifying the emissive value of the object
set object emissive 1,rgb(object position z(glow),0,0)
sync
loop
Cheers.
I'm not a grumpy grandpa
