I am having a small problem with images being too blurry for the 8-bit feel I am going for.
Here is a screenshot of a test scene I am using (my game is not going to have Mario in it, this is just to test things)
The parts that appear in focus are cubes made to provide collision. The program splits up the image and puts the background on planes in a grid pattern behind.
Here is the concentrated code:
using UnityEngine;
using System.Collections;
public class test : MonoBehaviour {
public Texture2D intest;
// Use this for initialization
void Start () {
Texture2D testTexture = new Texture2D(64,64,TextureFormat.RGBA32,false);
testTexture.SetPixels(intest.GetPixels(0,0,64,64));
testTexture.Apply(false);
renderer.material.mainTexture = testTexture;
}
// Update is called once per frame
void Update () {
}
}
This is the image that I am using for the intest variable:
I don’t know if I am missing something.