Difference between revisions of "PBS TriplanarSpecular"
Jump to navigation
Jump to search
(Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=PBS_TriplanarSpecularComponent.png |Name=PBS Triplanar Specular }} <!--T:2--> == Fields ==...") |
|||
Line 7: | Line 7: | ||
|Name=PBS Triplanar Specular | |Name=PBS Triplanar Specular | ||
}} | }} | ||
+ | |||
+ | A triplanar shader generates UVs and samples a texture by projecting in world space. The input texture is sampled 3 times, once in each of the world x, y and z axes, and the resulting information is planar projected onto the model, blended by the normal. | ||
+ | |||
+ | They are particularly useful for projecting a texture onto a cubical object without causing stretching of the texture. | ||
+ | |||
<!--T:2--> | <!--T:2--> |
Latest revision as of 21:45, 25 August 2021
This article or section is a Stub. You can help the Neos Wiki by expanding it.
A triplanar shader generates UVs and samples a texture by projecting in world space. The input texture is sampled 3 times, once in each of the world x, y and z axes, and the resulting information is planar projected onto the model, blended by the normal.
They are particularly useful for projecting a texture onto a cubical object without causing stretching of the texture.
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 | |
TextureScale
|
Float2 | |
TextureOffset
|
Float2 | |
AlbedoColor
|
Color | |
AlbedoTexture
|
IAssetProvider<ITexture2D> | |
EmissiveColor
|
Color | |
EmissiveMap
|
IAssetProvider<ITexture2D> | |
NormalMap
|
IAssetProvider<ITexture2D> | |
NormalScale
|
Float | |
OcclusionMap
|
IAssetProvider<ITexture2D> | |
TriplanarBlendPower
|
Float | |
ObjectSpace
|
Bool | |
OffsetFactor
|
Float | |
OffsetUnits
|
Float | |
Culling
|
Culling | |
Transparent
|
Bool | |
RenderQueue
|
Int | |
SpecularColor
|
Color | |
SpecularMap
|
IAssetProvider<ITexture2D> | |
_regular
|
IAssetProvider<Shader> | |
_transparent
|
IAssetProvider<Shader> |