Closed RecklessGlue540 closed 4 months ago
Can't be viably done through shaders only. CPU code editing is needed. Besides, technically these shadows weren't meant to be used everywhere. PC lamppost shadowcasting is not intended behavior by the original developers. Just use console lampposts.
I think I found some interesting articles that might help with fixing the paraboloid distortions Night Shadows are plagued with, without the need of tessellation, by shifting some of the vertex shader's work to the pixel shader, though something like that may also require code so I don't know if it's in plans...
http://www.gamedevelop.eu/en/tutorials/dual-paraboloid-shadow-mapping.htm http://www.klayge.org/material/3_12/DPSM/DPSM.PDF
Reading the second one actually seems to be making a little bit of sense tbh...