summaryrefslogtreecommitdiffstats
path: root/Editor
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-10-12 19:15:38 -0700
committeryum <yum.food.vr@gmail.com>2024-10-12 19:15:38 -0700
commit48f9510d85d88dba9feb345f9a5e800c287b27b7 (patch)
tree3d0d0ca8c4835ece84bcf4ab505d9f2b57453750 /Editor
parentb9f48ca0af6bf8189a979f86005dbf5a9b504e2f (diff)
Try 8x8x8 red only texture
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++)