'Clean' Sswift Shadow demo?

Blitz3D Forums/Blitz3D Programming/'Clean' Sswift Shadow demo?

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.

This should fix the problem. Replace the old version of recursivepaintentity with this one:

; -------------------------------------------------------------------------------------------------------------------------------------
; This function paints an entity and its children.
; -------------------------------------------------------------------------------------------------------------------------------------
Function RecursivePaintEntity(Entity, Brush)

	Local Child
	
	If (EntityClass$(Entity) = "Mesh") Or (EntityClass$(Entity) = "BSP") Then PaintEntity Entity, Brush
	
	For Child = 1 To CountChildren(Entity)
		RecursivePaintEntity(GetChild(Entity, Child), Brush)
	Next				

End Function

It never ceases to amaze me some of these bugs that people report... This bug for example. Has been in since I released the latest version a few weeks ago. Nobody reported it till now even though it should have affected a lot of people. And static shadows were broken for more than a month before someone reported it. :-)