i tried that tho, i had renderworld as a Z buffer forcer. Then i set the cameraclsmode to false on color and z buffer.
Basicly kinda like this
Main Loop:
{
CameraclsMode Cam, 0, 1
REnderworld() ;every entity is hidden...the part i
think i'm having issues with. But it's suppost to force
objects into Z buffer...
CameraclsMode Cam, 0,0
Loop each EntityObject
shows ONE entity
Basicly shows needed lights
Positions and Colors lights
Rendeworld()
Hide Lights
Hide Entity
Next entity
}
end of Main Loop
What's wrong exactly?
The lighting is working, just the Z buffer isn't.
Basicly kinda like this
Main Loop:
{
CameraclsMode Cam, 0, 1
REnderworld() ;every entity is hidden...the part i
think i'm having issues with. But it's suppost to force
objects into Z buffer...
CameraclsMode Cam, 0,0
Loop each EntityObject
shows ONE entity
Basicly shows needed lights
Positions and Colors lights
Rendeworld()
Hide Lights
Hide Entity
Next entity
}
end of Main Loop
What's wrong exactly?
The lighting is working, just the Z buffer isn't.