Search Unity

Question MSAA with Render Texture on HDRP

Discussion in 'High Definition Render Pipeline' started by fct509, May 31, 2021.

  1. fct509

    fct509

    Joined:
    Aug 15, 2018
    Posts:
    108
    One common way to capture an image is to create a RenderTexture, set it to the Camera, do a manual render, and then remove the RenderTexture from the Camera. Yet, every time I set antiAliasing to 2 (or higher), the resulting image capture is gray. I've tried calling RenderTexture's ResolveAntiAliasedSurface() method, but neither version of that seems to help.

    Is there a way to do an MSAA rendering in HDRP that isn't the MSAA level that's been set in the Pipeline asset?