← All resources

Cyanilux Gist - Tex2DArray Creator

Auto-discovered

Library / Codebase Intermediate

Cyanilux

Visit resource ↗

Description

Cyanilux hosts Tex2DArrayCreator.cs, a Unity EditorWindow gist that builds Texture2DArray assets from Texture2D slices in your project.

Reorderable slots show each slice size, mip count, and format; Graphics.CopyTexture writes a new array or reloads one for editing. The first slice sets dimensions and graphicsFormat; optional mips and Crunch limits are noted in the footer.

For intermediate users of terrain splats, atlases, or URP shaders that index Texture2DArray layers. All slices must match width, height, mip levels, and compression.

Drop the file in an Editor folder, then Window, Create Texture2DArray. Save writes an Assets asset with overwrite prompts, or replace the array currently loaded.

Fills the gap where Unity has no texture-array importer, as in Cyanilux array-sampling shader walkthroughs.