How do I make units pixels?

I have a lot planes.

they have a scale of 1,1,1.

I need they’re individual scale’s to be xAmount of pixels on the x and zAmount of pixels on the z (I’m working on a 2d top down game).

As you can imagine, the resolution’s all wrong and blurry.

I didn’t think of all things in unity, that this would be such a problem (which it probably isn’t, as no one else seems to have run into this problem, and I know that, having been all over the bloody internet!).

thanks for reading!

Set your Orthographic camera’s size to be the half of the height of your target resolution. For example, set it to 300 if you are targeting a 800 x 600 resolution.

Create a plane in a 3D application that’s equal to 1 unit/meter. Because Unity’s default plane contains 10x10 polygons and each polygon is 1 meters in size but the local scale shows 1 even though it should be 10.

Now you can scale your planes to the exact pixel perfect resolution and apply your textures to them.

Don’t forget to disable mip-mapping on your textures and select the point filtering to remove any blurring.