by Marisa the Magician » Sat Apr 23, 2022 5:45 am
What I'm about to suggest is going to sound like a complete mess, but I see it as a necessity for some important effects. This would be functionally similar to Unreal's bOwnerNoSee flag, which is used for things such as the shield belt visual effect on player models.
In a nutshell, the effects of this flag would make an actor get rendered only under special circumstances if a certain pointer (e.g.: its master) is the current camera. It would effectively be invisible in first person, except when reflected on mirrors or seen in camera textures (or when switching to chasecam).
I'm aware that Nash is working on something that's somewhat similar to this, but I've just been waiting for that for too long. If I have to delve into the guts of the engine myself to get what I need, I might as well try.
What I'm about to suggest is going to sound like a complete mess, but I see it as a necessity for some important effects. This would be functionally similar to Unreal's bOwnerNoSee flag, which is used for things such as the shield belt visual effect on player models.
In a nutshell, the effects of this flag would make an actor get rendered only under special circumstances if a certain pointer (e.g.: its master) is the current camera. It would effectively be invisible in first person, except when reflected on mirrors or seen in camera textures (or when switching to chasecam).
I'm aware that Nash is working on something that's somewhat similar to this, but I've just been waiting for that for too long. If I have to delve into the guts of the engine myself to get what I need, I might as well try.