texture sharpness via procedural setPixel @256

The texture.setPixel resolution seems to default at about 256 pixels, I tried to place my procedural colors over a 2048 texture and it is still 256 pixels.

Is there any way to make texture.setPixel more detailed than this:
(it should be a grid!)

alt text

The texture resolution is whatever you specify; there isn't any default.

Hey... to qualify your answer, it is what you specify in the lines: private var texture : Texture2D; function Start () { texture = new Texture2D( width , height, TextureFormat.RGB24, false);

1 Answer

1

Set the textures filter mode to point.

texture.filterMode = FilterMode.Point;

brilliant, thanks!