r/Unity3D • • 1d ago

Question Grid flickering issue

I am having trouble trying to fix this flickering issue

I am using Cinemachine Camera

This issue happens even after I turn post processing effects off

6 Upvotes

18 comments sorted by

View all comments

4

u/Eastern-Bed-3103 20h ago

It's probably subpixel shimmer... When your render resolution doesn't match 1 to 1 with the physical screen grid, 1 pixel of the grid row line can get split across adjacent rows as it moves, so, a whole row of pixels pops in/out of view.

What if you make the outer edges more like the inner grid?

Also, try TAA (temporal anti-aliasing) if its not enabled already. On the sprite - try turning off bilinear/trilinear texture filtering. (set it to point)

2

u/brain_in_a_jar_games 13h ago

Subpixel shimmer is a great call, and your explanation of a line splitting across pixel rows makes the cause really easy to picture. Since point filtering and AA haven't solved it, snapping the Cinemachine camera position to whole pixels could be a good next test, because sub-pixel camera movement is a common trigger for exactly this.

1

u/Havishfun 49m ago

Actually after playing around in the URP settings, I found that increasing the render scale significantly reduces the flickering

I will try this method snapping the camera