|ReflectionTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv2=true| A texture usually generated by a [[Component:CameraPortal|Camera Portal]] or previously rendered by a Camera Portal.
|NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv3=true| What normal map to use on the reflected image. This can be used as a way to create an illusion of moving heat in a portal gateway, or to add irregularity in the surface of a mirror.
|NormalMapScale|Float2|
|NormalMapScale|Float2| The scaling of the normal map across the rendered surface.
|NormalMapOffset|Float2|
|NormalMapOffset|Float2| The offset position of the normal map across the rendered surface.
|Distort|Float|
|Distort|Float| How much effect the normal map should have on the reflection.
|TintColor|ColorX|
|TintColor|ColorX| What color to tint the projected image.
Attach to a slot and provide the needed render texture to view, which is usually generated by a camera portal. The material will then show either a mirror or portal like effect.
<!--T:4-->
<!--T:4-->
Line 35:
Line 36:
<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
* [[Component:CameraPortal]]
* [[Component:RenderTextureProvider]]
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
Revision as of 00:50, 14 November 2024
Component image
Reflection Material component as seen in the Scene Inspector
Used with Camera Portals to render what the component sees into a visual result. Like mirrors, portals, a Tardis, gateways, and Non-Euclidean tunnels.
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.
What normal map to use on the reflected image. This can be used as a way to create an illusion of moving heat in a portal gateway, or to add irregularity in the surface of a mirror.
changes at which point a material renders on the render stack
Usage
Attach to a slot and provide the needed render texture to view, which is usually generated by a camera portal. The material will then show either a mirror or portal like effect.