your shadow resolution must always be smaller than or equal to your screen resolution!
your screenshot above looks like a screen res of 640x480 => 480 < 512 = bad.
the reason is the copyrect-command since it can only grab an image from the visible buffer...of course it would be easy to replace copyrect by e.g. toms render2texture() function, but that would require the use of an extra dll!
your screenshot above looks like a screen res of 640x480 => 480 < 512 = bad.
the reason is the copyrect-command since it can only grab an image from the visible buffer...of course it would be easy to replace copyrect by e.g. toms render2texture() function, but that would require the use of an extra dll!