Interface IEnvironmentHelperOptions
Hierarchy
- IEnvironmentHelperOptions
Index
Properties
- backgroundYRotation
- camera
Contrast - camera
Exposure - create
Ground - create
Skybox - enable
Ground Mirror - enable
Ground Shadow - environment
Texture - ground
Color - ground
Mirror Amount - ground
Mirror Blur Kernel - ground
Mirror Fall Off Distance - ground
Mirror Fresnel Weight - ground
Mirror Size Ratio - ground
Mirror Texture Type - ground
Opacity - ground
Shadow Level - ground
Size - ground
Texture - groundYBias
- root
Position - setup
Image Processing - size
Auto - skybox
Color - skybox
Size - skybox
Texture - tone
Mapping Enabled
Properties
backgroundYRotationSearch playground for backgroundYRotation
The background rotation around the Y axis of the scene. This helps aligning the key lights of your scene with the background. 0 by default.
camera ContrastSearch playground for cameraContrast
The value of the contrast to apply to the scene. 1.6 by default if setupImageProcessing is true.
camera ExposureSearch playground for cameraExposure
The value of the exposure to apply to the scene. 0.6 by default if setupImageProcessing is true.
create GroundSearch playground for createGround
Specifies whether or not to create a ground. True by default.
create SkyboxSearch playground for createSkybox
Specifies whether or not to create a skybox. True by default.
enable Ground MirrorSearch playground for enableGroundMirror
Creates a mirror texture attach to the ground. false by default.
enable Ground ShadowSearch playground for enableGroundShadow
Enables the ground to receive shadows. True by default.
environment TextureSearch playground for environmentTexture
The texture used as your environment texture in the scene. Comes from the BabylonJS CDN by default and in use if setupImageProcessing is true.
Remarks: Can be either a texture or a url.
ground ColorSearch playground for groundColor
The color mixed in the ground texture by default. BabylonJS clearColor by default.
ground Mirror AmountSearch playground for groundMirrorAmount
Specifies the ground mirror visibility amount. 1 by default
ground Mirror Blur KernelSearch playground for groundMirrorBlurKernel
Specifies the ground mirror blur kernel size. 64 by default.
ground Mirror Fall Off DistanceSearch playground for groundMirrorFallOffDistance
Specifies the ground mirror Falloff distance. This can helps reducing the size of the reflection. 0 by Default.
ground Mirror Fresnel WeightSearch playground for groundMirrorFresnelWeight
Specifies the ground mirror reflectance weight. This uses the standard weight of the background material to setup the fresnel effect of the mirror. 1 by default.
ground Mirror Size RatioSearch playground for groundMirrorSizeRatio
Specifies the ground mirror size ratio. 0.3 by default as the default kernel is 64.
ground Mirror Texture TypeSearch playground for groundMirrorTextureType
Specifies the ground mirror texture type. Unsigned Int by Default.
ground OpacitySearch playground for groundOpacity
Specifies the ground opacity. 1 by default.
ground Shadow LevelSearch playground for groundShadowLevel
Helps preventing the shadow to be fully black on the ground. 0.5 by default.
ground SizeSearch playground for groundSize
Specifies the ground size. 15 by default.
ground TextureSearch playground for groundTexture
The texture used on the ground for the main color. Comes from the BabylonJS CDN by default.
Remarks: Can be either a texture or a url.
groundYBiasSearch playground for groundYBias
Specifies a bias applied to the ground vertical position to prevent z-fighting with the shown objects.
root PositionSearch playground for rootPosition
Default position of the rootMesh if autoSize is not true.
setup Image ProcessingSearch playground for setupImageProcessing
Sets up the image processing in the scene. true by default.
size AutoSearch playground for sizeAuto
Compute automatically the size of the elements to best fit with the scene.
skybox ColorSearch playground for skyboxColor
The color mixed in the skybox texture by default. BabylonJS clearColor by default.
skybox SizeSearch playground for skyboxSize
Specifies the skybox size. 20 by default.
skybox TextureSearch playground for skyboxTexture
The texture used on the skybox for the main color. Comes from the BabylonJS CDN by default.
Remarks: Can be either a texture or a url.
tone Mapping EnabledSearch playground for toneMappingEnabled
Specifies whether or not tonemapping should be enabled in the scene. true by default if setupImageProcessing is true.
Represents the different options available during the creation of a Environment helper.
This can control the default ground, skybox and image processing setup of your scene.