After countless tries I've finally managed to implement bad single-split shadowmapping for the sun with wrong variance-filtering and ugly streching everywhere, yay.


(I HATE writing shadowmapping-code ._.)


POTATO-MAN saves the day! - Random