Component:FurMaterial: Difference between revisions

From Resonite Wiki
add info from other page
Automated: update Fields
Line 11: Line 11:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|HighPriorityIntegration|Bool|  
|HighPriorityIntegration|Bool|
|_shader|Shader|  
|_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true|
|Color|Color| Color/Tint of the fur
|Color|ColorX| Color/Tint of the fur
|SpecularColor|Color| Specular Tint. Behaves like PBS Specular Tinting
|SpecularColor|ColorX| Specular Tint. Behaves like PBS Specular Tinting
|Shininess|Float| Behaves like PBS Smoothness
|Shininess|Float| Behaves like PBS Smoothness
|Gloss|Float| Reflection Intensity.
|Gloss|Float| Reflection Intensity.
|RimColor|Color| Rim Lighting Color
|RimColor|ColorX| Rim Lighting Color
|RimPower|Float| Rim Lighting Power
|RimPower|Float| Rim Lighting Power
|FurLength|Float| Length of the fur.  Always applied in the force direction.
|FurLength|Float| Length of the fur.  Always applied in the force direction.
Line 24: Line 24:
|FurShading|Float| How much fake shading should be applied to the fur.
|FurShading|Float| How much fake shading should be applied to the fur.
|FurColoring|Float| How much the color of the fur should take precedent over shading.
|FurColoring|Float| How much the color of the fur should take precedent over shading.
|Base|ITexture2D| Albedo Texture. Alpha is Heightmap
|Base|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv13=true| Albedo Texture. Alpha is Heightmap
|NormalMap|ITexture2D| Normal Map
|NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv14=true| Normal Map
|Noise|ITexture2D| Noise texture. This should always be on the alpha channel. This determines the pattern of the fur.
|Noise|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv15=true| Noise texture. This should always be on the alpha channel. This determines the pattern of the fur.
|TextureScale|Float2| Texture Scale
|TextureScale|Float2| Texture Scale
|TextureOffset|Float2| Texture Offset
|TextureOffset|Float2| Texture Offset
Line 32: Line 32:
|ForceGlobal|Float4|The amount of displacement to apply in the world coordinate system.  The '''W''' value corresponds to a proportional affinity to point towards world origin.
|ForceGlobal|Float4|The amount of displacement to apply in the world coordinate system.  The '''W''' value corresponds to a proportional affinity to point towards world origin.
|ForceLocal|Float4|The amount of displacement to apply in the object's local coordinate system.
|ForceLocal|Float4|The amount of displacement to apply in the object's local coordinate system.
|RenderQueue|Int|  
|RenderQueue|Int|
}}
}}



Revision as of 11:50, 1 August 2024


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


Component image 
Fur Material 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.
HighPriorityIntegration Bool
_shader Shader
Color ColorX Color/Tint of the fur
SpecularColor ColorX Specular Tint. Behaves like PBS Specular Tinting
Shininess Float Behaves like PBS Smoothness
Gloss Float Reflection Intensity.
RimColor ColorX Rim Lighting Color
RimPower Float Rim Lighting Power
FurLength Float Length of the fur. Always applied in the force direction.
FurHardness Float How Stiff the fur is. Biases fur to point in the mesh normal direction instead of the force direction.
FurThinness Float How many times to re-iterate the fur noise map. Behaves similarly to texture scaling.
FurShading Float How much fake shading should be applied to the fur.
FurColoring Float How much the color of the fur should take precedent over shading.
Base ITexture2D Albedo Texture. Alpha is Heightmap
NormalMap ITexture2D Normal Map
Noise ITexture2D Noise texture. This should always be on the alpha channel. This determines the pattern of the fur.
TextureScale Float2 Texture Scale
TextureOffset Float2 Texture Offset
AlphaCutoff Float Alpha cutoff for the additional layers created by the shader based on the noise map.
ForceGlobal Float4 The amount of displacement to apply in the world coordinate system. The W value corresponds to a proportional affinity to point towards world origin.
ForceLocal Float4 The amount of displacement to apply in the object's local coordinate system.
RenderQueue Int

Usage

Examples

Related Components