- Home /
Question by
Shadowmage45 · Oct 24, 2018 at 10:09 PM ·
renderingcubemapblit
Blit to Cubemap - Only blits to X+ Face?
The following code still results in blitting to the cubemap X+ face.
Graphics.SetRenderTarget(dest, 0, CubemapFace.PositiveY);
Graphics.Blit(src, dest);
Even when setting the target face to...anything... it still renders into X+.
The following -also- results in rendering to X+ face, regardless of the specified setting.
Graphics.SetRenderTarget(dest, 0, CubemapFace.PositiveY);
capCam.clearFlags = CameraClearFlags.SolidColor;
capCam.targetTexture = dest;
capCam.Render();
How can I render, or blit, into specific faces of a cube-map? (Preferably I need access to do both)
Comment
Your answer
Follow this Question
Related Questions
How to use CubeBlur shader 0 Answers
Cubemaps disappearing from objects with identical material? 1 Answer
CubemapConvolution.Specular 0 Answers
Manual Graphics.Blit 3 Answers
URP Blit Material Renderer Feature - Breaks the Inspector Asset Preview Window 0 Answers