Fast terrain self-shadowing

Blitz3D Forums/Blitz3D Programming/Fast terrain self-shadowing

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.

I optimized my lightmapper by about 400% from just the unoptimized Blitz picking commands.

Self-shadowing terrain is by far the slowest step. I have a 32,000 poly terrain, split into 16 sectors, and it takes maybe four or five minutes to light with two directional lights. Anyone have experience writing optimized terrain shading? It seems like the unique nature of terrain meshes could be taken advantage of to speed this up.