I’ve added a scene capture 2D to my player via c++ and i was wondering is there a way for me to create custom show flags for example
SceneCapture->ShowFlags.CustomFlag = true;
or is there a way for me to show only a specific object. I did find a way to hide objects but its inefficient for my situation since i only want to show a single object.
I’ve been scouring the internet/forums and as soon as i get a lead it usually ends with no answer and the thread gets abandoned. Please help.
Not that I am aware of, I ended up implementing a white list, but that required quite a few changes to the SceneCaptureComponent and the renderer to include a new white list of primitives only to show. It works quite well though, I use it for my load screen, so all I have to do is add the actor I want rendered on the load screen to the white list, and thats the only thing rendered. I can show the code if anyone is interested.
Make sure to login with your Github account and its linked to your UE4 account before trying to view the above link. The branch is a 4.8 branch, but should be implementable into any later version of the engine if you just cherrypick the latest commit, or manually add the changes in.
It is still shared at the link provided in my previous reply. You need to make sure you are logged onto your Github account and that it is linked to your UE4 account, otherwise you will get a 404 error