imported>Xekri No edit summary |
Automated: update component fields |
||
Line 19: | Line 19: | ||
|TextureScale|Float2| | |TextureScale|Float2| | ||
|TextureOffset|Float2| | |TextureOffset|Float2| | ||
|AlbedoColor| | |AlbedoColor|ColorX| | ||
|AlbedoTexture| | |AlbedoTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv4=true| | ||
|EmissiveColor| | |EmissiveColor|ColorX| | ||
|EmissiveMap| | |EmissiveMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv6=true| | ||
|NormalMap| | |NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv7=true| | ||
|NormalScale|Float| | |NormalScale|Float| | ||
|OcclusionMap| | |OcclusionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv9=true| | ||
|TriplanarBlendPower|Float| | |TriplanarBlendPower|Float| | ||
|ObjectSpace|Bool| | |ObjectSpace|Bool| | ||
Line 35: | Line 35: | ||
|Metallic|Float| | |Metallic|Float| | ||
|Smoothness|Float| | |Smoothness|Float| | ||
|MetallicMap| | |MetallicMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv19=true| | ||
|_regular| | |_regular|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv20=true| | ||
|_transparent| | |_transparent|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv21=true| | ||
}} | }} | ||
Revision as of 09:42, 1 March 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 | |
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 | |
Metallic
|
Float | |
Smoothness
|
Float | |
MetallicMap
|
ITexture2D | |
_regular
|
Shader | |
_transparent
|
Shader |