imported>ProbablePrime Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=PBSLerpMetallicComponent.png |Name=PBSLerp Metallic }} <!--T:2--> == Fields == {{Table Comp..." |
add needed info |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=PBSLerpMetallicComponent.png | |Image=PBSLerpMetallicComponent.png | ||
|Name= | |Name=PBS Lerp Metallic | ||
}} | }} | ||
The '''PBSLerpMetallic''' component also known as {{Template:LerpMaterialSynonyms}}. Is a material that can switch textures and texture sets. | |||
If you want to switch between more than two sets of textures, please see [[Component:MultiTextureFader]]. | |||
To see detailed info on the textures not unique to this material like albedo and metallic, please see [[Component:PBS_Metallic]]. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|HighPriorityIntegration|Bool| | |HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | ||
|_shader| | |_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true| Internal. | ||
|Lerp|Float| | |Lerp|Float| Whether to show texture 0 (0) or texture 1 (1) or something in between. | ||
|LerpTexture| | |LerpTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv3=true| The texture to use other than lerp to lerp between the texture sets. | ||
|LerpTextureScale|Float2| | |LerpTextureScale|Float2| The size of the <code>LerpTexture</code> on the surface. | ||
|LerpTextureOffset|Float2| | |LerpTextureOffset|Float2| The offset of the <code>LerpTexture</code> on the surface. | ||
|Texture0Scale|Float2| | |Texture0Scale|Float2| The size of the <code>Texture0</code> on the surface. | ||
|Texture0Offset|Float2| | |Texture0Offset|Float2| The offset of the <code>Texture0</code> on the surface. | ||
|Texture1Scale|Float2| | |Texture1Scale|Float2| The size of the <code>Texture1</code> on the surface. | ||
|Texture1Offset|Float2| | |Texture1Offset|Float2| The offset of the <code>Texture1</code> on the surface. | ||
|AlbedoColor0| | |AlbedoColor0|ColorX| The color tint of <code>Texture0</code>. | ||
|AlbedoColor1| | |AlbedoColor1|ColorX| The color tint of <code>Texture1</code>. | ||
|AlbedoTexture0| | |AlbedoTexture0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv12=true| Texture 0 for albedo. | ||
|AlbedoTexture1| | |AlbedoTexture1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv13=true| Texture 1 for albedo. | ||
|EmissiveColor0| | |EmissiveColor0|ColorX| The emissive texture tint for texture 0. | ||
|EmissiveColor1| | |EmissiveColor1|ColorX| The emissive texture tint for texture 1. | ||
|EmissiveMap0| | |EmissiveMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv16=true| The texture 0 for emissive. | ||
|EmissiveMap1| | |EmissiveMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv17=true| The texture 1 for emissive. | ||
|NormalMap0| | |NormalMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv18=true| The texture 0 for normal map. | ||
|NormalMap1| | |NormalMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv19=true| The texture 1 for normal map. | ||
|NormalScale0|Float| | |NormalScale0|Float| The normal scale for normal 0. | ||
|NormalScale1|Float| | |NormalScale1|Float| The normal scale for normal 1. | ||
|OcclusionMap0| | |MultiValue|Bool| {{Template:Material_MultiValue_Desc}} | ||
|OcclusionMap1| | |OcclusionMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv23=true| The occlusion map for texture 0. | ||
|OffsetFactor|Float| | |OcclusionMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv24=true| The occlusion map for texture 1. | ||
|OffsetUnits|Float| | |BlendMode|BlendMode|{{Template:Material_BlendMode_Desc}} | ||
|RenderQueue|Int| | |AlphaCutoff|Float| {{Template:Material_AlphaCutoff_Desc}} | ||
|Metallic0|Float| | |ZWrite|ZWrite|{{Template:Material_ZWrite_Desc}} | ||
|Metallic1|Float| | |ZTest|ZTest|{{Template:Material_ZTest_Desc}} | ||
|Smoothness0|Float| | |Culling|Culling| {{Template:Material_Culling_Desc}} | ||
|Smoothness1|Float| | |OffsetFactor|Float|{{Template:Material_OffsetFactor_Desc}} | ||
|MetallicMap0| | |OffsetUnits|Float|{{Template:Material_OffsetUnits_Desc}} | ||
|MetallicMap1| | |RenderQueue|Int|{{Template:Material_RenderQueue_Desc}} | ||
|Metallic0|Float| The metallicness for set 0 when a texture is not provided for set 0. | |||
|Metallic1|Float| The metallicness for set 1 when a texture is not provided for set 1. | |||
|Smoothness0|Float| The smoothness for set 0 when a texture is not provided for set 0. | |||
|Smoothness1|Float| The smoothness for set 1 when a texture is not provided for set 1. | |||
|MetallicMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv37=true| The Metallic map for texture set 0. | |||
|MetallicMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv38=true| The Metallic map for texture set 1. | |||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
{{stub}} | |||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == Examples == | ||
{{stub}} | |||
<!--T:5--> | <!--T:5--> | ||
== | == See Also == | ||
* [[Component:PBSLerpSpecular]] | |||
* [[Component:MultiTextureFader]] | |||
* [[Component:PBS_Metallic]] | |||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|PBSLerp Metallic]] | [[Category:Components{{#translation:}}|PBSLerp Metallic]] | ||
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBSLerp Metallic]] | [[Category:Components:Assets:Materials:PBS{{#translation:}}|PBSLerp Metallic]] | ||
[[Category:Materials:PBS]] | [[Category:Materials:PBS{{#translation:}}|PBSLerp Metallic]] | ||
[[Category:Materials]] | [[Category:Materials{{#translation:}}|PBSLerp Metallic]] |
Latest revision as of 18:22, 26 January 2025
Component image 
PBS Lerp Metallic component as seen in the Scene Inspector

The PBSLerpMetallic component also known as Lerping Material, lerp material, fading material, transitioning material, blending material, changing material. Is a material that can switch textures and texture sets.
If you want to switch between more than two sets of textures, please see Component:MultiTextureFader.
To see detailed info on the textures not unique to this material like albedo and metallic, please see Component:PBS_Metallic.
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. |
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. |
_shader
|
Shader | Internal. |
Lerp
|
Float | Whether to show texture 0 (0) or texture 1 (1) or something in between. |
LerpTexture
|
ITexture2D | The texture to use other than lerp to lerp between the texture sets. |
LerpTextureScale
|
Float2 | The size of the LerpTexture on the surface.
|
LerpTextureOffset
|
Float2 | The offset of the LerpTexture on the surface.
|
Texture0Scale
|
Float2 | The size of the Texture0 on the surface.
|
Texture0Offset
|
Float2 | The offset of the Texture0 on the surface.
|
Texture1Scale
|
Float2 | The size of the Texture1 on the surface.
|
Texture1Offset
|
Float2 | The offset of the Texture1 on the surface.
|
AlbedoColor0
|
ColorX | The color tint of Texture0 .
|
AlbedoColor1
|
ColorX | The color tint of Texture1 .
|
AlbedoTexture0
|
ITexture2D | Texture 0 for albedo. |
AlbedoTexture1
|
ITexture2D | Texture 1 for albedo. |
EmissiveColor0
|
ColorX | The emissive texture tint for texture 0. |
EmissiveColor1
|
ColorX | The emissive texture tint for texture 1. |
EmissiveMap0
|
ITexture2D | The texture 0 for emissive. |
EmissiveMap1
|
ITexture2D | The texture 1 for emissive. |
NormalMap0
|
ITexture2D | The texture 0 for normal map. |
NormalMap1
|
ITexture2D | The texture 1 for normal map. |
NormalScale0
|
Float | The normal scale for normal 0. |
NormalScale1
|
Float | The normal scale for normal 1. |
MultiValue
|
Bool | Multiplies the constant value versions of packed texture information with the corrosponding channel of the packed image. |
OcclusionMap0
|
ITexture2D | The occlusion map for texture 0. |
OcclusionMap1
|
ITexture2D | The occlusion map for texture 1. |
BlendMode
|
BlendMode | How to blend this material's colors vs what it rendered on top of. |
AlphaCutoff
|
Float | The minimum threshold for alpha which before this value it will be not rendered for that pixel. |
ZWrite
|
ZWrite | whether this material should respect the distance it is from the camera. |
ZTest
|
ZTest | Determines whether this object should render when it is in front of or behind other objects that respect depth from the camera |
Culling
|
Culling | Whether to show the material on the front, back, or both sides |
OffsetFactor
|
Float | how much this material should be pushed forwards or backwards on the depth buffer factor wise |
OffsetUnits
|
Float | how much this material should be pushed forwards or backwards on the depth buffer unit wise |
RenderQueue
|
Int | changes at which point a material renders on the render stack |
Metallic0
|
Float | The metallicness for set 0 when a texture is not provided for set 0. |
Metallic1
|
Float | The metallicness for set 1 when a texture is not provided for set 1. |
Smoothness0
|
Float | The smoothness for set 0 when a texture is not provided for set 0. |
Smoothness1
|
Float | The smoothness for set 1 when a texture is not provided for set 1. |
MetallicMap0
|
ITexture2D | The Metallic map for texture set 0. |
MetallicMap1
|
ITexture2D | The Metallic map for texture set 1. |
Usage
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.