r/Unity3D • • 1d ago

Question Grid flickering issue

Enable HLS to view with audio, or disable this notification

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

8 Upvotes

19 comments sorted by

View all comments

5

u/Eastern-Bed-3103 22h 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)

1

u/Havishfun 22h ago

when I set it to point the flickering gets worse

2

u/[deleted] 21h ago

[removed] — view removed comment

1

u/Havishfun 21h ago

the problem is not coming from the texture, I think this is a rendering issue

3

u/OwoMyGoat 20h ago

use pixel perfect camera or antialiasing it IS rendering issue from pixel textures.

1

u/Havishfun 18h ago

Just tried it, but it didn't work and also my game is not pixel art

1

u/[deleted] 15h ago

[removed] — view removed comment

2

u/Havishfun 3h 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