OldUnreal/Unreal-testing

Coronas stop rendering out of player's FOV

Opened this issue · 1 comments

I'm not sure if this is even intentional or not, making the report to get more info about it, as we were discussing it in Discord with a few players. But essentially, in 227i and up, Coronas will stop rendering once they go outside the players FOV:

Unreal.2023-08-09.13-13-33-608.mp4

This doesn't happen in 226 and UT99, instead Coronas render as long as they themselves have line of sight to the player:

Unreal.2023-08-09.13-13-05-226.1.mp4

Which to me personally looks and feels a bit better and makes more sense. Having coronas constantly fade in while you're looking around in a room in 227 is a bit weird imo. But no idea if this was intentional (performance? coronas aren't hard to render in this day and age I don't think) or a side effect with making actors block coronas or what.

To restore original behavior I added an additional flag:
var(Lighting) bool bFOVFadingCorona; // In use with bCorona. Corona is fading out when out of FOV.

This way the mappers can decide themselves if they want to use this new feature or not.