hogsy / jaded

A repository for raising any tickets relating to Jaded, the Community Patched Jade Engine. There is no code here.
https://oldtimes-software.com/jaded/
1 stars 0 forks source link

[BUG] Real Time Shadows Break when there are multiple. #36

Open ShowinGrowin opened 8 months ago

ShowinGrowin commented 8 months ago

Summary

When you add a real time shadow to more than one object it will break completely once the second object is culled or far from the camera. (basically just turns everything into a black void)

Steps to Reproduce

Use a shadow modifier on an object and enable the "real time shadow" flag. The object must be set up to use real time shadows. (the DYN shadows option in the visual flags)

Screenshots or Videos

Works correctly when rabbid is visible. Massive visual glitch when rabbid is culled. Example of shadow modifer

Minor Tweak

I'd also like to request that the shadow resolution be improved if possible. It's noticeably low res by default but would look very nice if it was just a bit less pixelated.

hogsy commented 5 months ago

I wasn't able to reproduce this, unfortunately. It could be driver/GPU specific, though.

image

Regarding upping the resolution, I should be able to check that out at least.

ShowinGrowin commented 4 months ago

shadow1 shadow2

Played around with things a bit more on the newest version. Not sure how useful this might be but I noticed that there are certain circumstances where it does work.

In this instance I added the real time shadows to rayman first, but when adding it to the spider it had the same results as before. (with the room turning black) But after restarting jaded completely, it seems to work as intended. It breaks again after reloading the map. It only seems to display correctly when the map is initially loaded.

ShowinGrowin commented 4 months ago

One more thing I should clarify. While it does work on the initial load through the editor, loading in gamemode will always result in the bug. Though I think this might be because gamemode technically loads another map first.