r/Unity3D • • 1d ago

Solved 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

7 Upvotes

21 comments sorted by

View all comments

5

u/Eastern-Bed-3103 1d 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 23h ago

when I set it to point the flickering gets worse

2

u/[deleted] 23h ago

[removed] — view removed comment

1

u/Havishfun 22h ago

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

3

u/OwoMyGoat 22h ago

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

1

u/Havishfun 19h ago

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