Textures from a texture atalas turning black in the distance
I am making a voxel engine because I thought it would be a good way to learn Unity and I am having some troubles getting my texture atalas generated at runtime to work properly. Here's the problem:
To me, this looks like the texture atlas is being mipmaped so I tried to turn that off in my texture atlas generator. My code looks like this:
Atalas = new Texture2D(512, 512, TextureFormat.ARGB32, false); // The false here should turn off mipmapping right?
Rect[] rects = Atalas.PackTextures(AtalasTextures, 0, 512);
Atalas.filterMode = FilterMode.Point;
Atalas.wrapMode = TextureWrapMode.Clamp;
That code is still producing the issue and I don't know what else to try. I'm pretty new to Unity so sorry if this is a FAQ.
Your answer
Follow this Question
Related Questions
How can I reset the score counter? 0 Answers
Unity WebCamTexture looks squashed in RawImage 0 Answers
Texture file is all alpha when resizing 0 Answers
Better way to edit RawImage texture data?,Better way to edit a RawImage texture? 0 Answers
How to load a folder of textures automatically to an array of Raw Images? 2 Answers