ZZYZX wrote:It's just that you essentially made something that has all the limitations of Doom3 stencil shadows (as in it doesn't work with non-solid geometry), and on top of that requires a 2013 videocard to not lag horribly.
First of all, I didn't make this feature for you. I wanted to play with ray tests, then saw a simple opportunity to generalize it as a small contribution to GZDoom. Secondly, the heavy part of this pass currently is the way I'm doing soft shadows - that code isn't too far to how you do nice soft shadows in modern games either. Strangely enough, running the latest Battlefield on a 2013 video card with high quality shadows runs like shit too. And last, I don't really care how it runs on a 2013 card. I don't own one of those. What do you think a NV 980 user will say when you say your 2013 card can't run the latest Battlefield on max settings?
As for the limitations, yes, 1D shadowmaps are not as feature rich as 2D shadowmaps. Let me ask you a simple question - if you could choose between no shadows under actors, or the simple sprite shadow dot that games like UT 99 used, which one would it be? Because you're under the illusion that your choice is actually between my patch and a full featured shadowmap implementation. It is not.
ZZYZX wrote:Again, here I'm assuming that if you merged it from your dev branch to the master branch and said "test it", then you think it's done enough...
If it's not, then I'm sorry for the reaction and you should have said that it's 10% done instead of "go and test it".
I merged it into QZDoom master because the feature was working as I intended and I wanted to see if it gave any problems before PR'ing it up against GZDoom. If you don't like the effect, then don't enable it! If you have a 2013 card, then improve the GLSL, or don't enable it. If you write a full lightmap implementation that makes better light, then we will delete my code and replace it with yours.
ZZYZX wrote:Also: isn't classic shadowmapping dumb and very straightforward to implement?
Why don't you implement it then? I never signed up for that.