I have a default VR project.
I want to pixels representing sky to have RGBA value of (0,0,0,1). How do I do that, preferably in the editor?
Context: I have a custom VR plugin that works. I want to add AR functionality to it.
In my plug-in code, I’m looking at viewport’s texture’s memory but I’m not seeing alpha channel there. If I set the sky to be black and transparent I get (0,0,0,0) pixels, not (0,0,0,1) like would expect.
I get viewport’s texture in
FXRRenderBridge::UpdateViewport(const class FViewport& Viewport, class FRHIViewport* InViewportRHI)
using
Viewport.GetRenderTargetTexture();