From 48f9510d85d88dba9feb345f9a5e800c287b27b7 Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 12 Oct 2024 19:15:38 -0700 Subject: Try 8x8x8 red only texture --- Editor/generate_3d_noise.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Editor') diff --git a/Editor/generate_3d_noise.cs b/Editor/generate_3d_noise.cs index 4352d99..13cdf70 100644 --- a/Editor/generate_3d_noise.cs +++ b/Editor/generate_3d_noise.cs @@ -39,7 +39,7 @@ public class WhiteNoiseTextureGenerator : EditorWindow private void GenerateWhiteNoiseTexture() { - Texture3D texture = new Texture3D(textureWidth, textureHeight, textureDepth, TextureFormat.RGBA32, false); + Texture3D texture = new Texture3D(textureWidth, textureHeight, textureDepth, TextureFormat.R8, false); Color[] colors = new Color[textureWidth * textureHeight * textureDepth]; for (int z = 0; z < textureDepth; z++) -- cgit v1.2.3