Anti alising is not applied to scene rendered into a rendertexture target set on camera

Hi,

I have a scene rendered same time by a same camera and its copy in Game view and a rendertexture in the copy camera.

The result in Game view is smooth and anti aliased and in render texture looks jaggied and with no AA.

Is this a bug or some setting i miss ?

Thanks

Has your render texture antialiasing enabled?

https://docs.unity3d.com/ScriptReference/RenderTexture-antiAliasing.html

Hi, yes, i have 8x there, but not seem to affect it much, still looks totally different than Game view render

Note that is a pre-defined rendertexture in assets, not created in code

If you are using RenderTexture.GetTemporary make sure you specify anti-aliasing before that maybe use RenderTextureDescriptor and set msaaSamples to the desired value then use GetTemporary it’s much more clean