YAL code - flat shaded?

Blitz3D Forums/Blitz3D Programming/YAL code - flat shaded?

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.

Hi all,

I've been playing around with YAL from the code archives, and I've noticed what seems to be quite a big problem with it. It works perfectly to lightmap cubes, rooms, or other objects with sharp edges, but if I try to lightmap a sphere, terrain, barrel, or anything like that, the result looks a bit like it's flat shaded.

Is this a "feature" of all lightmappers, or is there a way to make YAL lightmap curved surfaces properly that I'm missing? :-)

If it's important I'm using sswift's version.. it was nearest the top.

Link - http://www.blitzbasic.com/codearcs/codearcs.php?code=794