m 989onan moved page PBSLerpSpecular to Component:PBSLerpSpecular |
add info |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=PBSLerpSpecularComponent.png | |Image=PBSLerpSpecularComponent.png | ||
|Name= | |Name=PBS Lerp Specular | ||
}} | }} | ||
The '''PBSLerpSpecular''' 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 specular, please see [[Component:PBS_Specular]]. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|HighPriorityIntegration|Bool| | |HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | ||
|_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true| | |_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|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv3=true| | |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|ColorX| | |AlbedoColor0|ColorX| The color tint of <code>Texture0</code>. | ||
|AlbedoColor1|ColorX| | |AlbedoColor1|ColorX| The color tint of <code>Texture1</code>. | ||
|AlbedoTexture0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv12=true| | |AlbedoTexture0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv12=true| Texture 0 for albedo. | ||
|AlbedoTexture1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv13=true| | |AlbedoTexture1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv13=true| Texture 1 for albedo. | ||
|EmissiveColor0|ColorX| | |EmissiveColor0|ColorX| The emissive texture tint for texture 0. | ||
|EmissiveColor1|ColorX| | |EmissiveColor1|ColorX| The emissive texture tint for texture 1. | ||
|EmissiveMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv16=true| | |EmissiveMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv16=true| The texture 0 for emissive. | ||
|EmissiveMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv17=true| | |EmissiveMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv17=true| The texture 1 for emissive. | ||
|NormalMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv18=true| | |NormalMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv18=true| The texture 0 for normal map. | ||
|NormalMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv19=true| | |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. | ||
|MultiValue|Bool| | |MultiValue|Bool| {{Template:Material_MultiValue_Desc}} | ||
|OcclusionMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv23=true| | |OcclusionMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv23=true| The occlusion map for texture 0. | ||
|OcclusionMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv24=true| | |OcclusionMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv24=true| The occlusion map for texture 1. | ||
|BlendMode|BlendMode| | |BlendMode|BlendMode|{{Template:Material_BlendMode_Desc}} | ||
|AlphaCutoff|Float| | |AlphaCutoff|Float| {{Template:Material_AlphaCutoff_Desc}} | ||
|ZWrite|ZWrite| | |ZWrite|ZWrite|{{Template:Material_ZWrite_Desc}} | ||
|ZTest|ZTest| | |ZTest|ZTest|{{Template:Material_ZTest_Desc}} | ||
|Culling|Culling| | |Culling|Culling| {{Template:Material_Culling_Desc}} | ||
|OffsetFactor|Float| | |OffsetFactor|Float|{{Template:Material_OffsetFactor_Desc}} | ||
|OffsetUnits|Float| | |OffsetUnits|Float|{{Template:Material_OffsetUnits_Desc}} | ||
|RenderQueue|Int| | |RenderQueue|Int|{{Template:Material_RenderQueue_Desc}} | ||
|SpecularColor0|ColorX| | |SpecularColor0|ColorX| The color for the Specular for texture set 0. | ||
|SpecularColor1|ColorX| | |SpecularColor1|ColorX| The color for the Specular for texture set 1. | ||
|SpecularMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv35=true| | |SpecularMap0|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv35=true| The map for the Specular for texture set 0. | ||
|SpecularMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv36=true| | |SpecularMap1|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv36=true| The map for the Specular 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:PBSLerpMetallic]] | |||
* [[Component:MultiTextureFader]] | |||
* [[Component:PBS_Specular]] | |||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|PBSLerp Specular]] | [[Category:Components{{#translation:}}|PBSLerp Specular]] | ||
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBSLerp Specular]] | [[Category:Components:Assets:Materials:PBS{{#translation:}}|PBSLerp Specular]] | ||
[[Category:Materials:PBS{{#translation:}}|PBSLerp Specular]] | [[Category:Materials:PBS{{#translation:}}|PBSLerp Specular]] | ||
[[Category:Materials{{#translation:}}|PBSLerp Specular]] | [[Category:Materials{{#translation:}}|PBSLerp Specular]] |
Latest revision as of 18:23, 26 January 2025
Component image 
PBS Lerp Specular component as seen in the Scene Inspector

The PBSLerpSpecular 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 specular, please see Component:PBS_Specular.
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 |
SpecularColor0
|
ColorX | The color for the Specular for texture set 0. |
SpecularColor1
|
ColorX | The color for the Specular for texture set 1. |
SpecularMap0
|
ITexture2D | The map for the Specular for texture set 0. |
SpecularMap1
|
ITexture2D | The map for the Specular 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.