How to Downsample a Render Texture? Want a camera's view to be pixellated...

I have a camera rendering to a Render Texture but I want to make the view more pixellated and less clear for the player. I searched around a little but didn’t find anything that seemed to deal with exactly this situation, and seeing as it’s presumably something short and simple, I thought I’d better ask here.

Once I get the RawImage that contains the Render Texture, it has one variable called texture and another called mainTexture. I assume I need to resize one of these to be smaller and then scale it back up again, but which one and how? I saw something about GetTemporary but it all looked more complicated than I would expect something simple like this to be…

I would just make the RenderTexture itself as small as you want.

1 Like

Aha… I hadn’t thought of just doing that and it seems to be working as expected, thanks.

1 Like