I’m having a problem in my VR game which will use a camera that exports photos as PNG, but the resulting images looks washed out. When trying to open it in an image editor, it seems that only half of the image is rendered, as there’s transparancy everywhere. This is what it looks like ingame before exporting (correct):
I am also having this problem. It definitely has something to do with VR. For now I’m using Rama’s Victory Plugin. Using Capture Component save 2D image. You have to go in and comment out one line of code to get it to work FYI.
Its not as functional as saving from a render target though, and I really wish they would fix this.
Hey, as there’s still no other workaround for exporting render targets i’m also trying to use this method with rama’s plugin. I don’t have much experience with code but can you explain how to comment out this line so I can get the bp node working? thanks
I’m traveling and away from my PC for a few weeks otherwise I’d do a step by step for you. I also just spent an hour googling and could not find the solution again. Sorry But maybe I can put you on the right track. I’m assuming you can at least download and instal Rama’s plugin and generate the Visual Studio code.
Download here: https://github.com/EverNewJoy/VictoryPlugin
You need to open up the source code in Visual Studio. You can also do this by adding the capture save image node in a Blueprint, and double clicking it, and it should open up Visual Studio directly to the relevant code. Otherwise, there is a search function, use it to look for capturecomponent2D (or something like that). There is a one line of code that is a test to see if its the right format, comment that out.
You will have to rebuild the code. Then open project again.
note: in Unreal, in the render target you use, the only supported format for this function is B8G8R8A8
Let me know if you still have problems and I’ll fill you in when I get back. Cheers and sorry I can’t fix this for you right away.
sorry for the late reply but I just back to my PC
use the capture component 2d save image node from Rama’s plugin
double click it to open up visual studio
comment out the lines as I did in the image.
Let me know if you need any more help