m Removed old Vids & Issues + Added Stubs |
clean up |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 11: | Line 11: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|HighPriorityIntegration|Bool| {{ | |HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | ||
|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| | ||
|GridSize|Float3| | |GridSize|Float3| | ||
|GridOffset|Float3| | |GridOffset|Float3| | ||
|DisplaceFrom|Float| | |DisplaceFrom|Float| | ||
|DisplaceTo|Float| | |DisplaceTo|Float| | ||
|DisplaceMagnitudeFrom|Float| | |DisplaceMagnitudeFrom|Float| | ||
|DisplaceMagnitudeTo|Float| | |DisplaceMagnitudeTo|Float| | ||
|EmissionFrom|Float| | |EmissionFrom|Float| | ||
|EmissionTo|Float| | |EmissionTo|Float| | ||
|EmissionColorFrom| | |EmissionColorFrom|ColorX| | ||
|EmissionColorTo| | |EmissionColorTo|ColorX| | ||
|OverrideDisplacementDirection|Nullable`1| | |OverrideDisplacementDirection|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float3|Float3]]>'''|TypeAdv20=true| | ||
|LocalSpace|Bool| | |LocalSpace|Bool| | ||
|Points|SyncList`1| | |Points|{{RootFieldType|SyncList`1|[[Type:Point|Point]]}}|TypeAdv22=true| | ||
|Culling|Culling| {{ | |Culling|Culling| {{Template:Material_Culling_Desc}} | ||
|Transparent|Bool| | |Transparent|Bool| | ||
|OffsetFactor|Float| {{ | |OffsetFactor|Float|{{Template:Material_OffsetFactor_Desc}} | ||
|OffsetUnits|Float| {{ | |OffsetUnits|Float|{{Template:Material_OffsetUnits_Desc}} | ||
|RenderQueue|Int| {{ | |RenderQueue|Int|{{Template:Material_RenderQueue_Desc}} | ||
|Metallic|Float| | |Metallic|Float| | ||
|Smoothness|Float| | |Smoothness|Float| | ||
|MetallicMap| | |MetallicMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv30=true| | ||
|_regular| | |_regular|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv31=true| Internal. | ||
|_transparent| | |_transparent|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv32=true| Internal. | ||
}} | }} | ||
Line 54: | Line 54: | ||
{{stub}} | {{stub}} | ||
== See Also == | |||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] | ||
[[Category:Components|PBS Distance Lerp Metallic]] | [[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Distance Lerp Metallic]] | ||
[[Category:Components: | [[Category:Components{{#translation:}}|PBS Distance Lerp Metallic]] | ||
[[Category:Materials:PBS]] | [[Category:Materials:PBS{{#translation:}}|PBS Distance Lerp Metallic]] | ||
[[Category:Materials]] | [[Category:Materials{{#translation:}}|PBS Distance Lerp Metallic]] |
Latest revision as of 17:49, 26 January 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image ![](/images/thumb/b/b6/PBS_DistanceLerpMetallicComponent.png/510px-PBS_DistanceLerpMetallicComponent.png)
PBS Distance Lerp Metallic component as seen in the Scene Inspector
![](/images/thumb/b/b6/PBS_DistanceLerpMetallicComponent.png/510px-PBS_DistanceLerpMetallicComponent.png)
Works on meshes with dense vertices. Can apply tint based on distance to specified points, and also displaces the vertices in the mesh based on distance to specified points (possibly towards/away from the point).
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. |
TextureScale
|
Float2 | |
TextureOffset
|
Float2 | |
AlbedoColor
|
ColorX | |
AlbedoTexture
|
ITexture2D | |
EmissiveColor
|
ColorX | |
EmissiveMap
|
ITexture2D | |
NormalMap
|
ITexture2D | |
NormalScale
|
Float | |
OcclusionMap
|
ITexture2D | |
GridSize
|
Float3 | |
GridOffset
|
Float3 | |
DisplaceFrom
|
Float | |
DisplaceTo
|
Float | |
DisplaceMagnitudeFrom
|
Float | |
DisplaceMagnitudeTo
|
Float | |
EmissionFrom
|
Float | |
EmissionTo
|
Float | |
EmissionColorFrom
|
ColorX | |
EmissionColorTo
|
ColorX | |
OverrideDisplacementDirection
|
Nullable`1<Float3> | |
LocalSpace
|
Bool | |
Points
|
list of Point | |
Culling
|
Culling | Whether to show the material on the front, back, or both sides |
Transparent
|
Bool | |
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 |
Metallic
|
Float | |
Smoothness
|
Float | |
MetallicMap
|
ITexture2D | |
_regular
|
Shader | Internal. |
_transparent
|
Shader | Internal. |
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.