Automated: update 'HighPriorityIntegration' description |
989onan bot (talk | contribs) Automated: update '_shader' description,'Exponent' description,'GammaCurve' description,'FarColor' description,'NearColor' description,'FarTexture' description,'NearTexture' description,'FarTextureScale' description,'FarTextureOffset' description,'NearTextureScale' description,'NearTextureOffset' description,'NormalMap' description,'NormalScale' description,'UseVertexColors' description,'VertexColorInterpolationSpace' description,'AlphaCutoff' description,'MaskTexture' description,'MaskScale'... |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=FresnelMaterialComponent.png | |Image=FresnelMaterialComponent.png | ||
|Name=Fresnel Material | |Name=Fresnel Material | ||
}} | }} | ||
The '''FresnelLerpMaterial''' component is a material that can be used to make a fresnel effect. | |||
Far on this material is the geometry facing away from the camera and near is the geometry facing towards the camera. | |||
<!--T:2--> | <!--T:2--> | ||
Line 12: | Line 14: | ||
{{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|{{Template:Material__shader}} | ||
|Exponent|Float| | |Exponent|Float|{{Template:Material_Exponent}} | ||
|GammaCurve|Float| | |GammaCurve|Float|{{Template:Material_GammaCurve}} | ||
|FarColor|ColorX| | |FarColor|ColorX|{{Template:Material_FarColor}} | ||
|NearColor|ColorX| | |NearColor|ColorX|{{Template:Material_NearColor}} | ||
|FarTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv6=true| | |FarTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv6=true|{{Template:Material_FarTexture}} | ||
|NearTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv7=true| | |NearTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv7=true|{{Template:Material_NearTexture}} | ||
|FarTextureScale|Float2| | |FarTextureScale|Float2|{{Template:Material_FarTextureScale}} | ||
|FarTextureOffset|Float2| | |FarTextureOffset|Float2|{{Template:Material_FarTextureOffset}} | ||
|NearTextureScale|Float2| | |NearTextureScale|Float2|{{Template:Material_NearTextureScale}} | ||
|NearTextureOffset|Float2| | |NearTextureOffset|Float2|{{Template:Material_NearTextureOffset}} | ||
|NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv12=true| | |NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv12=true|{{Template:Material_NormalMap}} | ||
|NormalScale|Float| | |NormalScale|Float|{{Template:Material_NormalScale}} | ||
|UseVertexColors|Bool| | |UseVertexColors|Bool|{{Template:Material_UseVertexColors}} | ||
|VertexColorInterpolationSpace|ColorProfile| | |VertexColorInterpolationSpace|ColorProfile|{{Template:Material_VertexColorInterpolationSpace}} | ||
|BlendMode|BlendMode| | |BlendMode|BlendMode|{{Template:Material_BlendMode_Desc}} | ||
|AlphaCutoff|Float| | |AlphaCutoff|Float|{{Template:Material_AlphaCutoff}} | ||
|MaskTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv18=true| | |MaskTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv18=true|{{Template:Material_MaskTexture}} | ||
|MaskScale|Float2| | |MaskScale|Float2|{{Template:Material_MaskScale}} | ||
|MaskOffset|Float2| | |MaskOffset|Float2|{{Template:Material_MaskOffset}} | ||
|MaskMode|MaskTextureMode| | |MaskMode|MaskTextureMode|{{Template:Material_MaskMode}} | ||
|Sidedness|Sidedness| | |Sidedness|Sidedness|{{Template:Material_Sidedness_Desc}} | ||
|ZWrite|ZWrite| | |ZWrite|ZWrite|{{Template:Material_ZWrite_Desc}} | ||
|ZTest|ZTest| | |ZTest|ZTest|{{Template:Material_ZTest_Desc}} | ||
|OffsetFactor|Float| | |OffsetFactor|Float|{{Template:Material_OffsetFactor_Desc}} | ||
|OffsetUnits|Float| | |OffsetUnits|Float|{{Template:Material_OffsetUnits_Desc}} | ||
|RenderQueue|Int| | |RenderQueue|Int|{{Template:Material_RenderQueue_Desc}} | ||
|PolarUVmapping|Bool| | |PolarUVmapping|Bool|{{Template:Material_PolarUVmapping}} | ||
|PolarPower|Float| | |PolarPower|Float|{{Template:Material_PolarPower}} | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
Attach to a slot and put into the materials of a renderer like a [[Component:SkinnedMeshRenderer]] or a [[Component:MeshRenderer]] with a mesh to view what the material looks like. | |||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == Examples == | ||
{{stub}} | |||
<!--T:5--> | <!--T:5--> | ||
== | == See Also == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Fresnel Material]] | [[Category:Components{{#translation:}}|Fresnel Material]] | ||
[[Category:Materials:Unlit{{#translation:}}|Fresnel Material]] | [[Category:Materials:Unlit{{#translation:}}|Fresnel Material]] | ||
[[Category:Materials{{#translation:}}|Fresnel Material]] | [[Category:Materials{{#translation:}}|Fresnel Material]] | ||
[[Category:Components:Assets:Materials:Unlit{{#translation:}}|Fresnel Material]] | [[Category:Components:Assets:Materials:Unlit{{#translation:}}|Fresnel Material]] |
Latest revision as of 20:43, 29 June 2025
Component image 
Fresnel Material component as seen in the Scene Inspector

The FresnelLerpMaterial component is a material that can be used to make a fresnel effect.
Far on this material is the geometry facing away from the camera and near is the geometry facing towards the camera.
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. |
Exponent
|
Float | The sharpness of the fresnel effect. |
GammaCurve
|
Float | The gamma curve of the material colors. |
FarColor
|
ColorX | The color tint of geometry facing away from the camera. |
NearColor
|
ColorX | The color tint of geometry facing towards the camera. |
FarTexture
|
ITexture2D | The texture for the geometry facing away from the camera. |
NearTexture
|
ITexture2D | The texture for geometry facing towards the camera. |
FarTextureScale
|
Float2 | The UV scale of the far texture. |
FarTextureOffset
|
Float2 | The UV offset of the far texture. |
NearTextureScale
|
Float2 | The UV scale of the near texture. |
NearTextureOffset
|
Float2 | The UV offset of the near texture. |
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. |
UseVertexColors
|
Bool | Whether the material should use vertex colors from the mesh. |
VertexColorInterpolationSpace
|
ColorProfile | How to interpolate vertex colors on the mesh. |
BlendMode
|
BlendMode | How to blend this material's colors vs what it rendered on top of. |
AlphaCutoff
|
Float | If BlendMode is set to cutout, discard rendering of pixels for the surface that fall below this alpha threshold.
|
MaskTexture
|
ITexture2D | The mask texture to use. |
MaskScale
|
Float2 | The UV scale of the mask texture. |
MaskOffset
|
Float2 | The UV offset of the mask texture. |
MaskMode
|
MaskTextureMode | How to apply the mask texture to the material. |
Sidedness
|
Sidedness | Render on both sides of the mesh, front, or back. |
ZWrite
|
ZWrite | whether this material should respect the distance it is from the camera. |
ZTest
|
ZTest | Determines whether this object should render when it is in front of or behind other objects that respect depth from the camera |
OffsetFactor
|
Float | How much this material should be pushed forwards or backwards on the depth buffer, based on the polygon's slope relative to the camera (i.e. polygons parallel to the camera will not be affected by this).[1] |
OffsetUnits
|
Float | How much this material should be pushed forwards or backwards on the depth buffer (regardless of the polygon's slope relative to the camera), in units equal to the smallest possible difference for the rendering device being used.[1] |
RenderQueue
|
Int | changes at which point a material renders on the render stack |
PolarUVmapping
|
Bool | Whether to use polar UV unwrapping. |
PolarPower
|
Float | The power of the polar UV unwrapping. |
Usage
Attach to a slot and put into the materials of a renderer like a Component:SkinnedMeshRenderer or a Component:MeshRenderer with a mesh to view what the material looks like.
Examples
This article or section is a stub. You can help the Resonite wiki by expanding it.