summaryrefslogtreecommitdiffstats
path: root/Editor
diff options
context:
space:
mode:
Diffstat (limited to 'Editor')
-rw-r--r--Editor/generate_3d_noise.cs2
1 files changed, 1 insertions, 1 deletions
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++)