I'm fairly new to Blitz3D, and I've just run into my first major obstacle.
I've begun creating my own surfaces and meshes, but I run into problems when I add lighting effects. Some surfaces seem unaffected by lights. I created a corridor section which was hex shaped and I then placed a point light inside. Even though all the surfaces are visible from inside, and all are equally distant from the light source, some are illluminated and others aren't. Usually its the floor and the lower left hand wall that are lit up:
unlit --> _
unlit --> / \
unlit --> /
lit --> \_
NB: Each wall is a seperate surface, but the whole section is one mesh.
I can't post the code as I'm not at home. Does anyone have any idea why this might be happening? =/
I've begun creating my own surfaces and meshes, but I run into problems when I add lighting effects. Some surfaces seem unaffected by lights. I created a corridor section which was hex shaped and I then placed a point light inside. Even though all the surfaces are visible from inside, and all are equally distant from the light source, some are illluminated and others aren't. Usually its the floor and the lower left hand wall that are lit up:
unlit --> _
unlit --> / \
unlit --> /
lit --> \_
NB: Each wall is a seperate surface, but the whole section is one mesh.
I can't post the code as I'm not at home. Does anyone have any idea why this might be happening? =/