OldUnreal / Unreal-testing

OU 227 testing
Other
54 stars 0 forks source link

Coronas stop rendering out of player's FOV #337

Open Shivaxi opened 1 year ago

Shivaxi commented 1 year ago

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:

https://github.com/OldUnreal/Unreal-testing/assets/10459358/4d7fef20-874b-46c4-8ab1-cee8205806fb

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

https://github.com/OldUnreal/Unreal-testing/assets/10459358/87838a63-dd13-4401-9905-e2a06cdd793d

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.

Smirftsch commented 1 year ago

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.