989onan bot (talk | contribs) 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, |
add info |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|Name=Flat Lit Toon Material | |Name=Flat Lit Toon Material | ||
}} | }} | ||
{{ | The '''FlatLitToonMaterial''' is a material that used to be used before the [[Component:XiexeToonMaterial|xiexe toon material]]. | ||
{{Obsolete}} | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | |HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | ||
|_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true| | |_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true| Internal. | ||
|MainTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv2=true| | |MainTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv2=true| The main color map of the material. | ||
|ColorMask|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv3=true| | |ColorMask|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv3=true| A mask used for color modification. | ||
|EmissionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv4=true| | |EmissionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv4=true| The glow or emission color map. | ||
|NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv5=true| | |NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv5=true| The lighting data texture based on vectors made from colors. | ||
|MainTextureScale|Float2| | |MainTextureScale|Float2| The UV scaling of the main texture. | ||
|MainTextureOffset|Float2| | |MainTextureOffset|Float2| The UV offset of the main texture. | ||
|ColorMaskScale|Float2| | |ColorMaskScale|Float2| The UV scaling of the color mask texture. | ||
|ColorMaskOffset|Float2| | |ColorMaskOffset|Float2| The UV offset of the color mask texture. | ||
|EmissionMapScale|Float2| | |EmissionMapScale|Float2| The UV scaling of the emission texture. | ||
|EmissionMapOffset|Float2| | |EmissionMapOffset|Float2| The UV offset of the emission texture. | ||
|NormalMapScale|Float2| | |NormalMapScale|Float2| The UV scaling of the normal map texture. | ||
|NormalMapOffset|Float2| | |NormalMapOffset|Float2| The UV offset of the normal texture. | ||
|AlphaCutoff|Float| | |AlphaCutoff|Float| The threshold for whether a pixel with transparency should not render or render fully opaque | ||
|Color|ColorX| | |Color|ColorX| The tint of the main color. | ||
|EmissionColor|ColorX| | |EmissionColor|ColorX| The tint of the emission color. | ||
|BlendMode|BlendMode|{{Template: | |BlendMode|BlendMode|{{Template:Material_BlendMode_Desc}} | ||
|ZWrite|ZWrite|{{Template:Material_ZWrite_Desc}} | |ZWrite|ZWrite|{{Template:Material_ZWrite_Desc}} | ||
|Shadow|Float| | |Shadow|Float| The strength of shadow on the toon material. | ||
|Outline|'''[[#OutlineStyle|OutlineStyle]]'''|TypeAdv20=true| | |Outline|'''[[#OutlineStyle|OutlineStyle]]'''|TypeAdv20=true| The outline style to use. | ||
|OutlineWidth|Float| | |OutlineWidth|Float| The thickness of the outline around the mesh. | ||
|OutlineColor|ColorX| | |OutlineColor|ColorX| The color of the outline around the mesh. | ||
|OutlineTint|Float| | |OutlineTint|Float| How much to tint the outline around the mesh. | ||
|OffsetFactor|Float|{{Template:Material_OffsetFactor_Desc}} | |OffsetFactor|Float|{{Template:Material_OffsetFactor_Desc}} | ||
|OffsetUnits|Float|{{Template:Material_OffsetUnits_Desc}} | |OffsetUnits|Float|{{Template:Material_OffsetUnits_Desc}} | ||
Line 36: | Line 37: | ||
}} | }} | ||
== | == OutlineStyle == | ||
{{Table EnumValues | |||
|None|0| No outline. | |||
|Tinted|1| Outline that is tinted based on the mesh it is outlining around. | |||
|Colored|2| Outline is a solid color | |||
}} | |||
== Usage == | |||
Obsolete. | |||
== Examples == | == Examples == | ||
Obsolete. | |||
== See Also == | == See Also == | ||
* [[Component:XiexeToonMaterial]] | |||
[[Category:Components:Uncategorized{{#translation:}}|Flat Lit Toon Material]] | [[Category:Components:Uncategorized{{#translation:}}|Flat Lit Toon Material]] | ||
[[Category:Components{{#translation:}}|Flat Lit Toon Material]] | [[Category:Components{{#translation:}}|Flat Lit Toon Material]] | ||
[[Category:Components With Nested Enums{{#translation:}}|Flat Lit Toon Material]] | [[Category:Components With Nested Enums{{#translation:}}|Flat Lit Toon Material]] | ||
Latest revision as of 17:08, 19 February 2025
Component image File:FlatLitToonMaterialComponent.pngFlat Lit Toon Material component as seen in the Scene Inspector
The FlatLitToonMaterial is a material that used to be used before the xiexe toon material.
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. |
MainTexture
|
ITexture2D | The main color map of the material. |
ColorMask
|
ITexture2D | A mask used for color modification. |
EmissionMap
|
ITexture2D | The glow or emission color map. |
NormalMap
|
ITexture2D | The lighting data texture based on vectors made from colors. |
MainTextureScale
|
Float2 | The UV scaling of the main texture. |
MainTextureOffset
|
Float2 | The UV offset of the main texture. |
ColorMaskScale
|
Float2 | The UV scaling of the color mask texture. |
ColorMaskOffset
|
Float2 | The UV offset of the color mask texture. |
EmissionMapScale
|
Float2 | The UV scaling of the emission texture. |
EmissionMapOffset
|
Float2 | The UV offset of the emission texture. |
NormalMapScale
|
Float2 | The UV scaling of the normal map texture. |
NormalMapOffset
|
Float2 | The UV offset of the normal texture. |
AlphaCutoff
|
Float | The threshold for whether a pixel with transparency should not render or render fully opaque |
Color
|
ColorX | The tint of the main color. |
EmissionColor
|
ColorX | The tint of the emission color. |
BlendMode
|
BlendMode | How to blend this material's colors vs what it rendered on top of. |
ZWrite
|
ZWrite | whether this material should respect the distance it is from the camera. |
Shadow
|
Float | The strength of shadow on the toon material. |
Outline
|
OutlineStyle | The outline style to use. |
OutlineWidth
|
Float | The thickness of the outline around the mesh. |
OutlineColor
|
ColorX | The color of the outline around the mesh. |
OutlineTint
|
Float | How much to tint the outline around the mesh. |
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 |
OutlineStyle
Name | Value | Description |
---|---|---|
None
|
0 | No outline. |
Tinted
|
1 | Outline that is tinted based on the mesh it is outlining around. |
Colored
|
2 | Outline is a solid color |
Usage
Obsolete.
Examples
Obsolete.