Pad Your Tiles - The Best Way to Get Rid of Seams ForeverĮven with anti-aliasing disabled it is possible that under conditions that are just so that seams will still be visible. Hint: It is recommended that you always have the Unity's Console active and always strive to keep your project free of any warnings and errors. Go into your Unity project's Quality Settings ( Edit -> Project Settings -> Quality) and turn it off.īy the way, Tiled2Unity will warn you that you have anti-aliasing enabled during an export in Unity's Console window. However, we don't any of that for pixel-perfect 2D. This is enabled by default for Unity projects and is great for smoothing harsh edges in 3D applications. The largest contributor to seams in your Unity project is anti-aliasing. Precision issues that is common in software development.) Disable Anti-Aliasing (What is happening is that the texture sampler is choosing a texel that is just barely out of bounds due to mathematical These lines are called seams and they are caused at the shader level. an image containing a group of smaller images) and without special care you may end up with an exported map that looks something like this in the Unity editor. A tilesets is, by nature, a texture atlas Unfortunately, this a common problem with texture atlases in 3D game engines. Īfter exporting my map I'm seeing these strange lines between some tiles. The most common complaint (and a valid one) with using Tiled2Unity is something along this, um, line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |