Component:PBS Specular: Difference between revisions

From Resonite Wiki
m Fixed common typo on components and added basic introduction
Automated: update 'StencilComparison' description,'StencilOperation' description,'StencilID' description,'StencilWriteMask' description,'StencilReadMask' description,'RenderQueue' description,'BlendMode' description,'Sidedness' description,'ZWrite' description,'ZTest' description,'OffsetFactor' description,'OffsetUnits' description,
 
(8 intermediate revisions by 3 users not shown)
Line 11: Line 11:
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|HighPriorityIntegration|Bool| {{stub}}
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}}
|_shader|Shader| {{stub}}
|_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true| {{stub}}
|TextureScale|Float2| {{stub}}
|TextureScale|Float2| {{stub}}
|TextureOffset|Float2| {{stub}}
|TextureOffset|Float2| {{stub}}
|DetailTextureScale|Float2| {{stub}}
|DetailTextureScale|Float2| {{stub}}
|DetailTextureOffset|Float2| {{stub}}
|DetailTextureOffset|Float2| {{stub}}
|AlbedoColor|Color| {{stub}}
|AlbedoColor|ColorX| {{stub}}
|AlbedoTexture|ITexture2D| {{stub}}
|AlbedoTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv7=true| {{stub}}
|EmissiveColor|Color| {{stub}}
|EmissiveColor|ColorX| {{stub}}
|EmissiveMap|ITexture2D| {{stub}}
|EmissiveMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv9=true| {{stub}}
|NormalScale|Float| {{stub}}
|NormalScale|Float| {{stub}}
|NormalMap|ITexture2D| {{stub}}
|NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv11=true| {{stub}}
|HeightMap|ITexture2D| {{stub}}
|HeightMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv12=true| {{stub}}
|HeightScale|Float| {{stub}}
|HeightScale|Float| {{stub}}
|OcclusionMap|ITexture2D| {{stub}}
|OcclusionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv14=true| {{stub}}
|DetailAlbedoTexture|ITexture2D| {{stub}}
|DetailAlbedoTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv15=true| {{stub}}
|DetailNormalMap|ITexture2D| {{stub}}
|DetailNormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv16=true| {{stub}}
|DetailNormalScale|Float| {{stub}}
|DetailNormalScale|Float| {{stub}}
|BlendMode|BlendMode| {{stub}}
|BlendMode|BlendMode|{{Template:Material_BlendMode_Desc}}
|AlphaCutoff|Float| {{stub}}
|AlphaCutoff|Float| {{stub}}
|OffsetFactor|Float| {{stub}}
|OffsetFactor|Float|{{Template:Material_OffsetFactor_Desc}}
|OffsetUnits|Float| {{stub}}
|OffsetUnits|Float|{{Template:Material_OffsetUnits_Desc}}
|RenderQueue|Int| {{stub}}
|RenderQueue|Int|{{Template:Material_RenderQueue_Desc}}
|SpecularColor|Color| {{stub}}
|SpecularColor|ColorX| {{stub}}
|SpecularMap|ITexture2D| {{stub}}
|SpecularMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv24=true| {{stub}}
}}
}}


Line 65: Line 65:
* [[PBS Metallic]] - Documentation on Resonite's PBS Metallic Material. This is often paired or compared to PBS Specular.
* [[PBS Metallic]] - Documentation on Resonite's PBS Metallic Material. This is often paired or compared to PBS Specular.


[[Category:Components|PBS_Specular (Component)]]
[[Category:Components:Assets:Materials{{#translation:}}|PBS Specular]]
[[Category:Components:Assets:Materials|PBS_Specular (Component)]]
[[Category:Components{{#translation:}}|PBS Specular]]
[[Category:Materials:PBS]]
[[Category:Materials{{#translation:}}|PBS Specular]]
[[Category:ComponentStubs]]

Latest revision as of 00:50, 14 November 2024


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


Component image 
PBS_Specular component as seen in the Scene Inspector


Introduction

PBS Specular is a standard material that can utilize specular maps.

Usage

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 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 This article or section is a Stub. You can help the Resonite Wiki by expanding it.
TextureScale Float2 This article or section is a Stub. You can help the Resonite Wiki by expanding it.
TextureOffset Float2 This article or section is a Stub. You can help the Resonite Wiki by expanding it.
DetailTextureScale Float2 This article or section is a Stub. You can help the Resonite Wiki by expanding it.
DetailTextureOffset Float2 This article or section is a Stub. You can help the Resonite Wiki by expanding it.
AlbedoColor ColorX This article or section is a Stub. You can help the Resonite Wiki by expanding it.
AlbedoTexture ITexture2D This article or section is a Stub. You can help the Resonite Wiki by expanding it.
EmissiveColor ColorX This article or section is a Stub. You can help the Resonite Wiki by expanding it.
EmissiveMap ITexture2D This article or section is a Stub. You can help the Resonite Wiki by expanding it.
NormalScale Float This article or section is a Stub. You can help the Resonite Wiki by expanding it.
NormalMap ITexture2D This article or section is a Stub. You can help the Resonite Wiki by expanding it.
HeightMap ITexture2D This article or section is a Stub. You can help the Resonite Wiki by expanding it.
HeightScale Float This article or section is a Stub. You can help the Resonite Wiki by expanding it.
OcclusionMap ITexture2D This article or section is a Stub. You can help the Resonite Wiki by expanding it.
DetailAlbedoTexture ITexture2D This article or section is a Stub. You can help the Resonite Wiki by expanding it.
DetailNormalMap ITexture2D This article or section is a Stub. You can help the Resonite Wiki by expanding it.
DetailNormalScale Float This article or section is a Stub. You can help the Resonite Wiki by expanding it.
BlendMode BlendMode How to blend this material's colors vs what it rendered on top of.
AlphaCutoff Float This article or section is a Stub. You can help the Resonite Wiki by expanding it.
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 Template:Material RenderQueue Desc
SpecularColor ColorX This article or section is a Stub. You can help the Resonite Wiki by expanding it.
SpecularMap ITexture2D This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Behavior

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


Specular Maps

This Material type uses a specular map for determining:

  • Specularity
  • Smoothness

This information is packed into the Specular map using the following pattern:

  • RBG: Specularity
    • Non-Metals are Dark Grey
    • Metals usually match the color of the metal you're after such as Iron being a Brighter Grey.
  • Alpha: Smoothness
    • High Alpha means High Smoothness
    • Low Alpha is Low Smoothness

Resonite uses the Unity Standard Shader Maps for this Material, for more information please see this guide for more information.

Examples

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


Further Reading

  • PBS Metallic - Documentation on Resonite's PBS Metallic Material. This is often paired or compared to PBS Specular.