
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.
This is commonly constructed via 2D slices which are 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.

- The X or Red channel increases constantly from 0 to 1 from left to right within each cell and repeats.

- The Y or Green channel linearly increases from the top to bottom.

- 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.

Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
URL
|
Uri | The address of the texture asset |
FilterMode
|
Nullable`1<TextureFilterMode> | How to handle the interpolation between pixels. |
AnisotropicLevel
|
Nullable`1<Int> | The levels of Anisotropic filtering distances when using Anisotropic for FilterMode
|
Uncompressed
|
Bool | Whether to not compress the texture's size before loading into ram/vram. doesn't affect cloud size. |
DirectLoad
|
Bool | Whether to not cache the texture in the local cache for Resonite |
ForceExactVariant
|
Bool | Whether to not generate variants for this texture and force a certain texture type |
PreferredFormat
|
Nullable`1<TextureCompression> | The format to use for texture compression rather than the auto picked one |
PreferredProfile
|
Nullable`1<ColorProfile> | The color profile to use rather than the auto picked one. (usually linear) |
MipMapBias
|
Float | Whether to see lower resolution versions of the texture closer up or not (MipMaps). |
WrapModeU
|
TextureWrapMode | How to repeat or mirror the texture along the X axis. this goes into affect when X values are outside of the range [0.0 to 1.0]. |
WrapModeV
|
TextureWrapMode | How to repeat or mirror the texture along the Y axis. this goes into affect when Y values are outside of the range [0.0 to 1.0]. |
WrapModeW
|
TextureWrapMode | How to repeat or mirror the texture along the Z axis. this goes into affect when Z values are outside of the range [0.0 to 1.0]. |
Readable
|
Bool | Whether or not the texture can be sampled via texture sampling ProtoFlux nodes |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
InvertRGB:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Inverts the colors of the image. |
InvertR:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Inverts the red channel of the image. |
InvertG:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Inverts the green channel of the image. |
InvertB:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Inverts the blue channel of the image. |
InvertA:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Inverts the alpha channel of the image. |
ColorToAlpha:Func`2<ColorX, Task`1<Bool>>
|
Func`2<ColorX, Task`1<Bool>> | X | Turns the color data of the image into transparency/alpha data. |
AlphaFromIntensity:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Makes alpha/transparency data depending on the color intensity of the image. |
AlphaToMask:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Turns the alpha of the image into a black and white image. |
RemoveAlpha:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Removes the alpha data completely from the image or makes it white. |
GrayscaleAverage:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Make grayscale image based on the average values for the colors per pixel. |
GrayscaleLuminance:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Make grayscale image based on the color luminance per pixel. |
SwapRG:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Swaps the red and green channels on the image |
SwapRB:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Swaps the red and blue channels on the image |
SwapRA:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Swaps the red and alpha channels on the image |
SwapGB:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Swaps the green and blue channels on the image |
SwapGA:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Swaps the green and alpha channels on the image |
SwapBA:Func`1<Task`1<Bool>>
|
Func`1<Task`1<Bool>> | X | Swaps the blue and alpha channels on the image |
AddBackground:Func`2<ColorX, Task`1<Bool>>
|
Func`2<ColorX, Task`1<Bool>> | X | adds a background of a color to a transparent image. |
AdjustGamma:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Adjusts the gamma of the image. |
AdjustAlphaGamma:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Adjusts the gamma of the alpha channel of the image. |
ShiftHue:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Shifts the hue of HSV of the image. |
SetHue:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Sets the Hue of HSV of the image. |
SetSaturation:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Sets the saturation of HSV of the image. |
OffsetSaturation:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Adds to the saturation of HSV of the image. |
MulSaturation:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Multiplies the saturation of HSV of the image. |
SetValue:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Sets the value of HSV of the image. |
MulValue:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Multiplies the value of HSV of the image. |
OffsetValue:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Adds to the value of HSV of the image. |
OffsetAlpha:Func`2<Float, Task`1<Bool>>
|
Func`2<Float, Task`1<Bool>> | X | Adds to the alpha of the image. |
Normalize:Func`4<Bool, Bool, Bool, Task`1<Bool>>
|
Func`4<Bool, Bool, Bool, Task`1<Bool>> | X | 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.