Texture settings

One issue here is that I get some red pixels when I set `textureSize` to 2. Any idea why that might be happening? It works fine when I change `Byte` to `Float` though...