Exclude a mesh from a light

Blitz3D Forums/Blitz3D Programming/Exclude a mesh from a light

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Multipass rendering. Something like:

Start of loop
Show everything
CameraClsMode cam,True,True
Hide light1
RenderWorld
CameraClsMode cam,False,False
Hide light2
Show light1
RenderWorld
End of Loop