Instead of hollowing out a cube to get a playing level, just turn it inside out! SCALE OBJECT yourWorld -100, -100, -100.
As 29 games said, It's a normal behavior. When I'm messing about with colors on objects and such, I typically set up the lighting as follows:
`Set up our screen
sync on
sync rate 60
color backdrop rgb(0,0,0)
autocam off
`Set up lights
hide light 0 `Light 0 is on by default And I typically hide it.
set ambient light 0 `This sets how much 'ambient' light there is in the world. I set it to 0.
make light 1 `Make a light you can control
position light 1, 0, 30, 0 `Position the light
`Make an object to represent where the light is:
make object sphere 100, 10 `Make a sphere
set object light 100, 0 `Turn the light off for this object.
position object 100, 0, 30, 0 `Position it where the light is
`Make some cubes, position them and color them randomly
for i = 1 to 10
make object cube i, 10
color object i, rgb(rnd(255), rnd(255), rnd(255))
position object i, rnd(100) - 50, 0, rnd(100) - 50
next i
`Main loop!
do
`update camera
CamAngle = wrapValue(CamAngle + 1)
position camera sin(CamAngle) * 100, 50, cos(CamAngle) * 100
point camera 0,0,0
sync
loop
end
Then test from there!
The reason you are getting grey sides, is because they are 'in the dark'.
SET AMBIENT LIGHT percent will set how strong the ambient light actually is. I'm not sure what the default value is (maybe between 30-40%. Not sure :\) I typically set this to 0 so that I can get 'cleaner' looking DBP lighting.
There is no light source hitting the surface, so the ambient lighting will be applied. (It's actually applied all the time and can cause object coloring to look washed out on objects in light.). The ambient color is set to a grey color by default. If you
COLOR AMBIENT LIGHT RGB(r, g, b), objects 'in the dark' will be the color you specify. Objects in light will be as well. The RGB is added between the the objects color by lights, and the color and power of the ambient.
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.