m 989onan moved page PBS TriplanarSpecular to Component:PBS TriplanarSpecular |
Automated: update 'HighPriorityIntegration' description |
||
Line 16: | Line 16: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|HighPriorityIntegration|Bool| | |HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | ||
|TextureScale|Float2| | |TextureScale|Float2| | ||
|TextureOffset|Float2| | |TextureOffset|Float2| |
Revision as of 11:59, 1 August 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
A triplanar shader generates UVs and samples a texture by projecting in world space. The input texture is sampled 3 times, once in each of the world x, y and z axes, and the resulting information is planar projected onto the model, blended by the normal.
They are particularly useful for projecting a texture onto a cubical object without causing stretching of the texture.
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. |
HighPriorityIntegration
|
Bool | If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes. |
TextureScale
|
Float2 | |
TextureOffset
|
Float2 | |
AlbedoColor
|
ColorX | |
AlbedoTexture
|
ITexture2D | |
EmissiveColor
|
ColorX | |
EmissiveMap
|
ITexture2D | |
NormalMap
|
ITexture2D | |
NormalScale
|
Float | |
OcclusionMap
|
ITexture2D | |
TriplanarBlendPower
|
Float | |
ObjectSpace
|
Bool | |
OffsetFactor
|
Float | |
OffsetUnits
|
Float | |
Culling
|
Culling | |
Transparent
|
Bool | |
RenderQueue
|
Int | |
SpecularColor
|
ColorX | |
SpecularMap
|
ITexture2D | |
_regular
|
Shader | |
_transparent
|
Shader |