[OpenSource - GitHub] Texture3D preview in Inspector

On GitHub : https://github.com/raphael-ernaelsten/Texture3DPreview-for-Unity
Texture3D preview for Unity

This package enables interactive previews of Texture3D assets in Unity’s Inspector window.

Previews and thumbnails of Texture3D asset
When importing the Texture3D asset, Unity will automatically render a preview of the Texture3D to display in the Project window.

When selecting a Texture3D asset in the Project windows, Unity will display an preview of the Texture3D in the Inspector.

Previews of a Texture3D field on a GameObject’s component
To enable Texture3D field preview on a GameObject’s component, add

[Texture3DPreview]

in front of the declared field.

TODO

  • Preview non uniform Texture3D in their respective ratio (currently all previews will be cube)
  • Add alpha blend mode for rendering previews

Know issues / limitations

  • Previews are currently in additive mode
  • Previews of multiples Texture3D assets don’t work
  • Sometimes, the preview of a Texture3D field becomes empty

Feel free to contact me for any comment or suggestion. Twitter : @raphernaelsten

2 Likes

Thank you for this package. Saved alot of time.

1 Like

My pleasure!

Fantastic work! Thanks a lot, it is indeed a bit of a jewel! :smile: