Removed technical Information as it is already moved to the proper pages. Replaced the information with links to the central page and importing information page for Texture3D. Added links and updated the description.
Line 6:
Line 6:
|Name=Static Texture 3D
|Name=Static Texture 3D
}}
}}
Static Texture 3D is a component that represents a bunch of textures stacked on top of each other to make a 3D grid of pixel values. These textures can be displayed in 3D, or sampled via 3D positions in a few different components or in [[ProtoFlux]] Nodes.
The '''StaticTexture3D''' component represents a bunch of [[Texture2D|textures]] stacked on top of each other to make a 3D grid of pixel values, as a [[Texture3D]]. These textures can be displayed in 3D, or sampled via 3D positions in a few different components or in [[ProtoFlux]] Nodes. When [[3D_Texture_Import|importing a Texture3D]], this component is usually applied after the import.
This is commonly constructed via 2D slices which are [[Component:StaticTexture2D|Static Texture 2Ds]]. These slices represent XY planes of incremental Z coordinates ranging from 0 to 1. This can either be packed into a single 2D image, or imported as multiple 2D images in a folder where each slice is alphabetically organized.
Currently the maximum packed 2D image that the importer detects as a valid 3D texture is 1024x32. In this orientation there are 32 total cells arranged as 32x32 pixel sub images.
[[File:LUT_BaseLinear.png|center|alt=Linear 3D Texture|Linear 3D Texture|thumb|800x800px]]
* The '''X''' or '''Red''' channel increases constantly from 0 to 1 from left to right within each cell and repeats.
[[File:LUT_BaseLinear_RED.png|center|alt=Linear 3D Texture Red Channel|Linear 3D Texture Red channel|thumb|800x800px]]
* The '''Y''' or '''Green''' channel linearly increases from the top to bottom.
[[File:LUT_BaseLinear_GREEN.png|center|alt=Linear 3D Texture Green Channel|Linear 3D Texture Green channel|thumb|800x800px]]
* The '''Z''' or '''Blue''' channel increases step wise within each cell itself, the first cell being all 0, and the last cell is all 1.
[[File:LUT_BaseLinear_BLUE.png|center|alt=Linear 3D Texture Blue Channel|Linear 3D Texture Blue channel|thumb|800x800px]]
The StaticTexture3D component represents a bunch of textures stacked on top of each other to make a 3D grid of pixel values, as a Texture3D. These textures can be displayed in 3D, or sampled via 3D positions in a few different components or in ProtoFlux Nodes. When importing a Texture3D, this component is usually applied after the import.
Normalizes the colors of the image, making it have a bigger color range usage.
Usage
Is generated automatically when importing a folder of images that are slices of a cube stacked vertically. Insert into a Component:VolumeUnlitMaterial to view the colors or a Component:LUT Material to view it's affect as a filter.
Examples
This article or section is a stub. You can help the Resonite wiki by expanding it.