Skip Navigation

Trouble with Camera / Viewport / Decal setup

Hi. I'm at a complete loss, so...

Background: 4.0.3. A 3D "fps" world, with the usual capsule shape suspect protagonist. I'm adding a SubViewport, and a Camera to render onto a Decal with albedo set to a ViewportTexture from the SubViewport.

I can (sort of, unreliably) make it work in the editor, but never in the game(!) With transparent bg, it's just invisible, without, it's black, and if I pick the icon.svg instead, that works. The (inner, well, both actually) camera is active, and I've fiddled with Clear Mode and Update Mode on the SubViewport. (and every other setting I can think of)

In the editor, rendering both camera view and a label on top works, both in the SubViewport texture view, and on the Decal in the 3D view(!)

What am I missing?!

1
1 comments