How do you decrease the resolution of the shader

The shader works well on a small resolution, but when scaling up to 2x or 4x the size the shader has to do a lot more work. This makes the game unplayable.

How do you scale down a shader to prevent low fps?

Render to a target with lower resolution, then use the target as texture.

3 Likes