(6 intermediate revisions by one other user not shown)
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=ProceduralSkyMaterialComponent.png
|Image=ProceduralSkyMaterialComponent.png
|Name=Procedural Sky Material
|Name=Procedural Sky Material
}}
}}
The '''Procedural Sky Material''' component is used to make a on-the-fly generated skybox using a light object and some values for atmosphere and sun size.
|SunQuality|'''[[#SunType|SunType]]'''|TypeAdv2=true| The quality of the sun visual in the sky if any.
|SunSize|Float|
|SunSize|Float| The radius of the sun in the sky.
|Sun|Light|
|Sun|{{RootFieldType|RelayRef`1|[[Component:Light|Light]]}}|TypeAdv4=true| The light being used for the sun position and color.
|AtmosphereThickness|Float|
|AtmosphereThickness|Float| The thickness of the atmosphere, which determines how high up the "blue" refraction effect seen in atmospheres. if this value is low, the blue of the sky becomes a thin band on the horizon that is faint. this would give the illusion of a thin atmosphere.
|SkyTint|Color|
|SkyTint|ColorX| The color of the atmosphere in the sky. for earth this is blue.
|GroundColor|Color|
|GroundColor|ColorX| The color of the sky below the horizon.
|Exposure|Float|
|Exposure|Float| How much exposure or brightness should be given to the sky.
}}
}}
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Used commonly in sky boxes found in grid spaces, and serves as a quick and simple way of making a sky that can be changed on the fly.
== SunType ==
{{Table EnumValues
|None|0| No sun visible in the sky.
|Simple|1| A simple sun visible in the sky.
|HighQuality|2| A high quality sun visible in the sky.
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.
The thickness of the atmosphere, which determines how high up the "blue" refraction effect seen in atmospheres. if this value is low, the blue of the sky becomes a thin band on the horizon that is faint. this would give the illusion of a thin atmosphere.