Skip to content

Releases: raphael-ernaelsten/Texture3DPreview-for-Unity

Texture3DPreview Unity package

11 Oct 12:20
Compare
Choose a tag to compare

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.

Texture3D asset thumbnail

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

Texture3D asset preview


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.

Texture3D field preview in Inspector


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