add info needed |
add sync delegate desc |
||
(2 intermediate revisions by one other user not shown) | |||
Line 30: | Line 30: | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|URL|Uri|The address of the texture asset | |URL|Uri|The address of the texture asset | ||
|FilterMode|TextureFilterMode| {{Template:Texture FilterMode Field}} | |FilterMode|'''[[Type:Nullable`1|Nullable`1]]<[[Type:TextureFilterMode|TextureFilterMode]]>'''|TypeAdv1=true| {{Template:Texture FilterMode Field}} | ||
|AnisotropicLevel|Int| {{Template:Texture AnisotropicLevel Field}} | |AnisotropicLevel|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Int|Int]]>'''|TypeAdv2=true| {{Template:Texture AnisotropicLevel Field}} | ||
|Uncompressed|Bool| Whether to not compress the texture's size before loading into ram/vram. doesn't affect cloud size. | |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]] | |DirectLoad|Bool| Whether to not cache the texture in the local cache for [[Resonite]] | ||
Line 37: | Line 37: | ||
|PreferredFormat|'''[[Type:Nullable`1|Nullable`1]]<[[Type:TextureCompression|TextureCompression]]>'''|TypeAdv6=true| The format to use for texture compression rather than the auto picked one | |PreferredFormat|'''[[Type:Nullable`1|Nullable`1]]<[[Type:TextureCompression|TextureCompression]]>'''|TypeAdv6=true| The format to use for texture compression rather than the auto picked one | ||
|PreferredProfile|'''[[Type:Nullable`1|Nullable`1]]<[[Type:ColorProfile|ColorProfile]]>'''|TypeAdv7=true| The color profile to use rather than the auto picked one. (usually linear) | |PreferredProfile|'''[[Type:Nullable`1|Nullable`1]]<[[Type:ColorProfile|ColorProfile]]>'''|TypeAdv7=true| The color profile to use rather than the auto picked one. (usually linear) | ||
| | |MipMapBias|Float| {{Template:Texture MipmapBias Field}} | ||
|WrapModeU|TextureWrapMode| {{Template:Texture WrapMode Field|X}} | |WrapModeU|TextureWrapMode| {{Template:Texture WrapMode Field|X}} | ||
|WrapModeV|TextureWrapMode| {{Template:Texture WrapMode Field|Y}} | |WrapModeV|TextureWrapMode| {{Template:Texture WrapMode Field|Y}} | ||
|WrapModeW|TextureWrapMode| {{Template:Texture WrapMode Field|Z}} | |WrapModeW|TextureWrapMode| {{Template:Texture WrapMode Field|Z}} | ||
|Readable|Bool|Whether or not the texture can be sampled via texture sampling ProtoFlux nodes | |Readable|Bool|Whether or not the texture can be sampled via texture sampling ProtoFlux nodes | ||
}} | |||
== Sync Delegates == | |||
{{Table ComponentTriggers | |||
|InvertRGB:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Inverts the colors of the image. | |||
|InvertR:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Inverts the red channel of the image. | |||
|InvertG:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Inverts the green channel of the image. | |||
|InvertB:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Inverts the blue channel of the image. | |||
|InvertA:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Inverts the alpha channel of the image. | |||
|ColorToAlpha:[[Type:Func`2|Func`2]]<[[Type:ColorX|ColorX]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:ColorX|ColorX]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Turns the color data of the image into transparency/alpha data. | |||
|AlphaFromIntensity:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Makes alpha/transparency data depending on the color intensity of the image. | |||
|AlphaToMask:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Turns the alpha of the image into a black and white image. | |||
|RemoveAlpha:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Removes the alpha data completely from the image or makes it white. | |||
|GrayscaleAverage:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Make grayscale image based on the average values for the colors per pixel. | |||
|GrayscaleLuminance:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Make grayscale image based on the color luminance per pixel. | |||
|SwapRG:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the red and green channels on the image | |||
|SwapRB:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the red and blue channels on the image | |||
|SwapRA:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the red and alpha channels on the image | |||
|SwapGB:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the green and blue channels on the image | |||
|SwapGA:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the green and alpha channels on the image | |||
|SwapBA:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the blue and alpha channels on the image | |||
|AddBackground:[[Type:Func`2|Func`2]]<[[Type:ColorX|ColorX]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:ColorX|ColorX]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| adds a background of a color to a transparent image. | |||
|AdjustGamma:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Adjusts the gamma of the image. | |||
|AdjustAlphaGamma:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Adjusts the gamma of the alpha channel of the image. | |||
|ShiftHue:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Shifts the hue of HSV of the image. | |||
|SetHue:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Sets the Hue of HSV of the image. | |||
|SetSaturation:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Sets the saturation of HSV of the image. | |||
|OffsetSaturation:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Adds to the saturation of HSV of the image. | |||
|MulSaturation:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Multiplies the saturation of HSV of the image. | |||
|SetValue:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Sets the value of HSV of the image. | |||
|MulValue:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Multiplies the value of HSV of the image. | |||
|OffsetValue:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Adds to the value of HSV of the image. | |||
|OffsetAlpha:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Adds to the alpha of the image. | |||
|Normalize:[[Type:Func`4|Func`4]]<[[Type:Bool|Bool]], [[Type:Bool|Bool]], [[Type:Bool|Bool]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`4|Func`4]]<[[Type:Bool|Bool]], [[Type:Bool|Bool]], [[Type:Bool|Bool]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Normalizes the colors of the image, making it have a bigger color range usage. | |||
}} | }} | ||
Latest revision as of 16:49, 12 April 2025

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.