I’m trying to fake reflections with RenderTargetCube. Works pretty well but when my windows reflect others windows via the RenderTarget, they appear green. They don’t appear green on the rendertarget texture tho…just in-game.
My target cube is static, it does not refresh every frame (too demanding). Have an idea?
As there is no update method for the SceneCapture Actor itself, i think the quickest solution is a dirty hack to actualy move the sceneCaptureActor. So in your levelblueprint, get a reference to your SceneCapture actor, get the location and add 0.1 to z or any other axis, just a small increment. This way, the Actor updates itself once at the beginning and it should solve your issues. I am aware that this is a bad hack, but if anyone else has some better idea:)
I found a workaround. If I untick translucency in the sceneCapturecube, then the rendertargetcube texture won’t include any translucent objects and at runtime the green ‘bug’’ won’t appear (and objects made of glass neither, like my glass vases, or pool water and windows)… Not a huge deal since the reflection of a window in another window is kinda hard to see anyway.