@ima747:
Yes, the shadow problem is sadly a known oneand currently I can't determine where the problem exactly lies. As you have seen the crach only happens with ZPass technique and not with ZFail. And thats the big mysterious: both use the exactly same
mesh and extra mesh.updateshadow method. but once it works and the other time it doesn't. Also a big riddle to me is: I have ported exactly the same code from my previous (0.40) version and there it doesn't crash in any case. so currently call me 'bughunter' ;) .
And yes the ZFail technique generates artifacts for the self shadowing. Exactly it produces Z-Fighting. I have tried a lot of 'solving mechanics' but nothing works till now (polygon offset changing, etc). MAybe I have to take a deeper look in which bit depth the z-buffer is generated and maybe to set the bits up.
thx for the feedback :)
klepto2
Yes, the shadow problem is sadly a known oneand currently I can't determine where the problem exactly lies. As you have seen the crach only happens with ZPass technique and not with ZFail. And thats the big mysterious: both use the exactly same
mesh and extra mesh.updateshadow method. but once it works and the other time it doesn't. Also a big riddle to me is: I have ported exactly the same code from my previous (0.40) version and there it doesn't crash in any case. so currently call me 'bughunter' ;) .
And yes the ZFail technique generates artifacts for the self shadowing. Exactly it produces Z-Fighting. I have tried a lot of 'solving mechanics' but nothing works till now (polygon offset changing, etc). MAybe I have to take a deeper look in which bit depth the z-buffer is generated and maybe to set the bits up.
thx for the feedback :)
klepto2