Component:PBS VertexColorSpecular: Difference between revisions

From Resonite Wiki
imported>ProbablePrime
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=PBS_VertexColorSpecularComponent.png |Name=PBS Vertex Color Specular }} <!--T:2--> == Field..."
 
Automated: update 'TextureScale' description,'TextureOffset' description,'AlbedoColor' description,'AlbedoTexture' description,'EmissiveColor' description,'EmissiveMap' description,'NormalMap' description,'NormalScale' description,'OcclusionMap' description,'VertexColorInterpolationSpace' description,'AlphaHandling' description,'AlphaClip' description,'SpecularColor' description,'SpecularMap' description,'VertexColorTarget' description,'_regular' description,'_transparent' description,'_trans...
 
(10 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|{{Template:Material_TextureScale}}
|TextureOffset|Float2|
|TextureOffset|Float2|{{Template:Material_TextureOffset}}
|AlbedoColor|Color|
|AlbedoColor|ColorX|{{Template:Material_AlbedoColor}}
|AlbedoTexture|IAssetProvider`1|TypeString4=IAssetProvider<ITexture2D>|
|AlbedoTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv4=true|{{Template:Material_AlbedoTexture}}
|EmissiveColor|Color|
|EmissiveColor|ColorX|{{Template:Material_EmissiveColor}}
|EmissiveMap|IAssetProvider`1|TypeString6=IAssetProvider<ITexture2D>|
|EmissiveMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv6=true|{{Template:Material_EmissiveMap}}
|NormalMap|IAssetProvider`1|TypeString7=IAssetProvider<ITexture2D>|
|NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv7=true|{{Template:Material_NormalMap}}
|NormalScale|Float|
|NormalScale|Float|{{Template:Material_NormalScale}}
|OcclusionMap|IAssetProvider`1|TypeString9=IAssetProvider<ITexture2D>|
|OcclusionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv9=true|{{Template:Material_OcclusionMap}}
|Culling|Culling|
|VertexColorInterpolationSpace|ColorProfile|{{Template:Material_VertexColorInterpolationSpace}}
|AlphaHandling|AlphaHandling|
|Culling|Culling| {{Template:Material_Culling_Desc}}
|AlphaClip|Float|
|AlphaHandling|AlphaHandling|{{Template:Material_AlphaHandling}}
|OffsetFactor|Float|
|AlphaClip|Float|{{Template:Material_AlphaClip}}
|OffsetUnits|Float|
|OffsetFactor|Float|{{Template:Material_OffsetFactor_Desc}}
|RenderQueue|Int|
|OffsetUnits|Float|{{Template:Material_OffsetUnits_Desc}}
|SpecularColor|Color|
|RenderQueue|Int|{{Template:Material_RenderQueue_Desc}}
|SpecularMap|IAssetProvider`1|TypeString17=IAssetProvider<ITexture2D>|
|SpecularColor|ColorX|{{Template:Material_SpecularColor}}
|VertexColorTarget|ColorTarget|
|SpecularMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv18=true|{{Template:Material_SpecularMap}}
|_regular|IAssetProvider`1|TypeString19=IAssetProvider<Shader>|
|VertexColorTarget|'''[[#ColorTarget|ColorTarget]]'''|TypeAdv19=true|{{Template:Material_VertexColorTarget}}
|_transparent|IAssetProvider`1|TypeString20=IAssetProvider<Shader>|
|_regular|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv20=true|{{Template:Material__regular}}
|_transparentFront|IAssetProvider`1|TypeString21=IAssetProvider<Shader>|
|_transparent|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv21=true|{{Template:Material__transparent}}
|_transparentFront|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv22=true|{{Template:Material__transparentFront}}
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
== ColorTarget ==
{{Table EnumValues
|Albedo|0|
|Emissive|1|
|Metallic|2|
}}


<!--T:4-->
<!--T:4-->
Line 42: Line 50:


<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|PBS Vertex Color Specular]]
[[Category:Components{{#translation:}}|PBS Vertex Color Specular]]
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Vertex Color Specular]]
[[Category:Components:Assets:Materials:PBS{{#translation:}}|PBS Vertex Color Specular]]
[[Category:Materials:PBS]]
[[Category:Materials:PBS{{#translation:}}|PBS Vertex Color Specular]]
[[Category:Materials]]
[[Category:Materials{{#translation:}}|PBS Vertex Color Specular]]
[[Category:Components With Nested Enums{{#translation:}}|PBS Vertex Color Specular]]

Latest revision as of 20:44, 29 June 2025


This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Component image 
PBS Vertex Color Specular component as seen in the Scene Inspector

Fields

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 How much to scale up or down the different texture maps.
TextureOffset Float2 How much to shift around the position of the different texture maps.
AlbedoColor ColorX The color to multiply the texture of the albedo (base color) with. Basically a tint. Default white.
AlbedoTexture ITexture2D The texture to use as the color of the surface.
EmissiveColor ColorX The color to multiply the texture of the emission (glowly color) with. Basically a tint. Default white.
EmissiveMap ITexture2D The texture to use as the glowing (emission) color of the surface.
NormalMap ITexture2D The normal map is used as a way to change the appearance of a surface when shined on by lights, to give the illusion of a raised surface.
NormalScale Float How much to scale up the effect of the normal map.
OcclusionMap ITexture2D Used to specify surface parts in eternal shadow due to being close to other mesh parts.
VertexColorInterpolationSpace ColorProfile How to interpolate vertex colors on the mesh.
Culling Culling Whether to show the material on the front, back, or both sides
AlphaHandling AlphaHandling How to handle alpha values in pixels on the AlbedoTexture.
AlphaClip Float Any alpha value below this amount is not rendered for any given pixel when cutout is enabled.
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
SpecularColor ColorX Specular Tint. Behaves like PBS Specular Tinting
SpecularMap ITexture2D Specular Maps
VertexColorTarget ColorTarget Template:Material VertexColorTarget
_regular Shader Internal.
_transparent Shader Shader, Internal.
_transparentFront Shader Template:Material transparentFront

Usage

ColorTarget

Values
Name Value Description
Albedo 0
Emissive 1
Metallic 2

Examples

See Also