Environment

package
v0.0.0-...-546f9d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package Environment provides methods for working with Environment object instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advanced

type Advanced = class

Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.

type AmbientSource

type AmbientSource = gdclass.EnvironmentAmbientSource //gd:Environment.AmbientSource
const (
	/*Gather ambient light from whichever source is specified as the background.*/
	AmbientSourceBg AmbientSource = 0
	/*Disable ambient light. This provides a slight performance boost over [constant AMBIENT_SOURCE_SKY].*/
	AmbientSourceDisabled AmbientSource = 1
	/*Specify a specific [Color] for ambient light. This provides a slight performance boost over [constant AMBIENT_SOURCE_SKY].*/
	AmbientSourceColor AmbientSource = 2
	/*Gather ambient light from the [Sky] regardless of what the background is.*/
	AmbientSourceSky AmbientSource = 3
)

type Any

type Any interface {
	gd.IsClass
	AsEnvironment() Instance
}

type BGMode

type BGMode = gdclass.EnvironmentBGMode //gd:Environment.BGMode
const (
	/*Clears the background using the clear color defined in [member ProjectSettings.rendering/environment/defaults/default_clear_color].*/
	BgClearColor BGMode = 0
	/*Clears the background using a custom clear color.*/
	BgColor BGMode = 1
	/*Displays a user-defined sky in the background.*/
	BgSky BGMode = 2
	/*Displays a [CanvasLayer] in the background.*/
	BgCanvas BGMode = 3
	/*Keeps on screen every pixel drawn in the background. This is the fastest background mode, but it can only be safely used in fully-interior scenes (no visible sky or sky reflections). If enabled in a scene where the background is visible, "ghost trail" artifacts will be visible when moving the camera.*/
	BgKeep BGMode = 4
	/*Displays a camera feed in the background.*/
	BgCameraFeed BGMode = 5
	/*Represents the size of the [enum BGMode] enum.*/
	BgMax BGMode = 6
)

type FogMode

type FogMode = gdclass.EnvironmentFogMode //gd:Environment.FogMode
const (
	/*Use a physically-based fog model defined primarily by fog density.*/
	FogModeExponential FogMode = 0
	/*Use a simple fog model defined by start and end positions and a custom curve. While not physically accurate, this model can be useful when you need more artistic control.*/
	FogModeDepth FogMode = 1
)

type GlowBlendMode

type GlowBlendMode = gdclass.EnvironmentGlowBlendMode //gd:Environment.GlowBlendMode
const (
	/*Additive glow blending mode. Mostly used for particles, glows (bloom), lens flare, bright sources.*/
	GlowBlendModeAdditive GlowBlendMode = 0
	/*Screen glow blending mode. Increases brightness, used frequently with bloom.*/
	GlowBlendModeScreen GlowBlendMode = 1
	/*Soft light glow blending mode. Modifies contrast, exposes shadows and highlights (vivid bloom).*/
	GlowBlendModeSoftlight GlowBlendMode = 2
	/*Replace glow blending mode. Replaces all pixels' color by the glow value. This can be used to simulate a full-screen blur effect by tweaking the glow parameters to match the original image's brightness.*/
	GlowBlendModeReplace GlowBlendMode = 3
	/*Mixes the glow with the underlying color to avoid increasing brightness as much while still maintaining a glow effect.*/
	GlowBlendModeMix GlowBlendMode = 4
)

type Instance

type Instance [1]gdclass.Environment

Resource for environment nodes (like [WorldEnvironment]) that define multiple environment operations (such as background [Sky] or [Color], ambient light, fog, depth-of-field...). These parameters affect the final render of the scene. The order of these operations is: - Depth of Field Blur - Glow - Tonemap (Auto Exposure) - Adjustments

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AdjustmentBrightness

func (self Instance) AdjustmentBrightness() Float.X

func (Instance) AdjustmentColorCorrection

func (self Instance) AdjustmentColorCorrection() [1]gdclass.Texture

func (Instance) AdjustmentContrast

func (self Instance) AdjustmentContrast() Float.X

func (Instance) AdjustmentEnabled

func (self Instance) AdjustmentEnabled() bool

func (Instance) AdjustmentSaturation

func (self Instance) AdjustmentSaturation() Float.X

func (Instance) AmbientLightColor

func (self Instance) AmbientLightColor() Color.RGBA

func (Instance) AmbientLightEnergy

func (self Instance) AmbientLightEnergy() Float.X

func (Instance) AmbientLightSkyContribution

func (self Instance) AmbientLightSkyContribution() Float.X

func (Instance) AmbientLightSource

func (self Instance) AmbientLightSource() gdclass.EnvironmentAmbientSource

func (Instance) AsEnvironment

func (self Instance) AsEnvironment() Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) AsResource

func (self Instance) AsResource() Resource.Instance

func (Instance) BackgroundCameraFeedId

func (self Instance) BackgroundCameraFeedId() int

func (Instance) BackgroundCanvasMaxLayer

func (self Instance) BackgroundCanvasMaxLayer() int

func (Instance) BackgroundColor

func (self Instance) BackgroundColor() Color.RGBA

func (Instance) BackgroundEnergyMultiplier

func (self Instance) BackgroundEnergyMultiplier() Float.X

func (Instance) BackgroundIntensity

func (self Instance) BackgroundIntensity() Float.X

func (Instance) BackgroundMode

func (self Instance) BackgroundMode() gdclass.EnvironmentBGMode

func (Instance) FogAerialPerspective

func (self Instance) FogAerialPerspective() Float.X

func (Instance) FogDensity

func (self Instance) FogDensity() Float.X

func (Instance) FogDepthBegin

func (self Instance) FogDepthBegin() Float.X

func (Instance) FogDepthCurve

func (self Instance) FogDepthCurve() Float.X

func (Instance) FogDepthEnd

func (self Instance) FogDepthEnd() Float.X

func (Instance) FogEnabled

func (self Instance) FogEnabled() bool

func (Instance) FogHeight

func (self Instance) FogHeight() Float.X

func (Instance) FogHeightDensity

func (self Instance) FogHeightDensity() Float.X

func (Instance) FogLightColor

func (self Instance) FogLightColor() Color.RGBA

func (Instance) FogLightEnergy

func (self Instance) FogLightEnergy() Float.X

func (Instance) FogMode

func (self Instance) FogMode() gdclass.EnvironmentFogMode

func (Instance) FogSkyAffect

func (self Instance) FogSkyAffect() Float.X

func (Instance) FogSunScatter

func (self Instance) FogSunScatter() Float.X

func (Instance) GetGlowLevel

func (self Instance) GetGlowLevel(idx int) Float.X

Returns the intensity of the glow level [param idx].

func (Instance) GlowBlendMode

func (self Instance) GlowBlendMode() gdclass.EnvironmentGlowBlendMode

func (Instance) GlowBloom

func (self Instance) GlowBloom() Float.X

func (Instance) GlowEnabled

func (self Instance) GlowEnabled() bool

func (Instance) GlowHdrLuminanceCap

func (self Instance) GlowHdrLuminanceCap() Float.X

func (Instance) GlowHdrScale

func (self Instance) GlowHdrScale() Float.X

func (Instance) GlowHdrThreshold

func (self Instance) GlowHdrThreshold() Float.X

func (Instance) GlowIntensity

func (self Instance) GlowIntensity() Float.X

func (Instance) GlowMap

func (self Instance) GlowMap() [1]gdclass.Texture

func (Instance) GlowMapStrength

func (self Instance) GlowMapStrength() Float.X

func (Instance) GlowMix

func (self Instance) GlowMix() Float.X

func (Instance) GlowNormalized

func (self Instance) GlowNormalized() bool

func (Instance) GlowStrength

func (self Instance) GlowStrength() Float.X

func (Instance) ReflectedLightSource

func (self Instance) ReflectedLightSource() gdclass.EnvironmentReflectionSource

func (Instance) SdfgiBounceFeedback

func (self Instance) SdfgiBounceFeedback() Float.X

func (Instance) SdfgiCascade0Distance

func (self Instance) SdfgiCascade0Distance() Float.X

func (Instance) SdfgiCascades

func (self Instance) SdfgiCascades() int

func (Instance) SdfgiEnabled

func (self Instance) SdfgiEnabled() bool

func (Instance) SdfgiEnergy

func (self Instance) SdfgiEnergy() Float.X

func (Instance) SdfgiMaxDistance

func (self Instance) SdfgiMaxDistance() Float.X

func (Instance) SdfgiMinCellSize

func (self Instance) SdfgiMinCellSize() Float.X

func (Instance) SdfgiNormalBias

func (self Instance) SdfgiNormalBias() Float.X

func (Instance) SdfgiProbeBias

func (self Instance) SdfgiProbeBias() Float.X

func (Instance) SdfgiReadSkyLight

func (self Instance) SdfgiReadSkyLight() bool

func (Instance) SdfgiUseOcclusion

func (self Instance) SdfgiUseOcclusion() bool

func (Instance) SdfgiYScale

func (self Instance) SdfgiYScale() gdclass.EnvironmentSDFGIYScale

func (Instance) SetAdjustmentBrightness

func (self Instance) SetAdjustmentBrightness(value Float.X)

func (Instance) SetAdjustmentColorCorrection

func (self Instance) SetAdjustmentColorCorrection(value [1]gdclass.Texture)

func (Instance) SetAdjustmentContrast

func (self Instance) SetAdjustmentContrast(value Float.X)

func (Instance) SetAdjustmentEnabled

func (self Instance) SetAdjustmentEnabled(value bool)

func (Instance) SetAdjustmentSaturation

func (self Instance) SetAdjustmentSaturation(value Float.X)

func (Instance) SetAmbientLightColor

func (self Instance) SetAmbientLightColor(value Color.RGBA)

func (Instance) SetAmbientLightEnergy

func (self Instance) SetAmbientLightEnergy(value Float.X)

func (Instance) SetAmbientLightSkyContribution

func (self Instance) SetAmbientLightSkyContribution(value Float.X)

func (Instance) SetAmbientLightSource

func (self Instance) SetAmbientLightSource(value gdclass.EnvironmentAmbientSource)

func (Instance) SetBackgroundCameraFeedId

func (self Instance) SetBackgroundCameraFeedId(value int)

func (Instance) SetBackgroundCanvasMaxLayer

func (self Instance) SetBackgroundCanvasMaxLayer(value int)

func (Instance) SetBackgroundColor

func (self Instance) SetBackgroundColor(value Color.RGBA)

func (Instance) SetBackgroundEnergyMultiplier

func (self Instance) SetBackgroundEnergyMultiplier(value Float.X)

func (Instance) SetBackgroundIntensity

func (self Instance) SetBackgroundIntensity(value Float.X)

func (Instance) SetBackgroundMode

func (self Instance) SetBackgroundMode(value gdclass.EnvironmentBGMode)

func (Instance) SetFogAerialPerspective

func (self Instance) SetFogAerialPerspective(value Float.X)

func (Instance) SetFogDensity

func (self Instance) SetFogDensity(value Float.X)

func (Instance) SetFogDepthBegin

func (self Instance) SetFogDepthBegin(value Float.X)

func (Instance) SetFogDepthCurve

func (self Instance) SetFogDepthCurve(value Float.X)

func (Instance) SetFogDepthEnd

func (self Instance) SetFogDepthEnd(value Float.X)

func (Instance) SetFogEnabled

func (self Instance) SetFogEnabled(value bool)

func (Instance) SetFogHeight

func (self Instance) SetFogHeight(value Float.X)

func (Instance) SetFogHeightDensity

func (self Instance) SetFogHeightDensity(value Float.X)

func (Instance) SetFogLightColor

func (self Instance) SetFogLightColor(value Color.RGBA)

func (Instance) SetFogLightEnergy

func (self Instance) SetFogLightEnergy(value Float.X)

func (Instance) SetFogMode

func (self Instance) SetFogMode(value gdclass.EnvironmentFogMode)

func (Instance) SetFogSkyAffect

func (self Instance) SetFogSkyAffect(value Float.X)

func (Instance) SetFogSunScatter

func (self Instance) SetFogSunScatter(value Float.X)

func (Instance) SetGlowBlendMode

func (self Instance) SetGlowBlendMode(value gdclass.EnvironmentGlowBlendMode)

func (Instance) SetGlowBloom

func (self Instance) SetGlowBloom(value Float.X)

func (Instance) SetGlowEnabled

func (self Instance) SetGlowEnabled(value bool)

func (Instance) SetGlowHdrLuminanceCap

func (self Instance) SetGlowHdrLuminanceCap(value Float.X)

func (Instance) SetGlowHdrScale

func (self Instance) SetGlowHdrScale(value Float.X)

func (Instance) SetGlowHdrThreshold

func (self Instance) SetGlowHdrThreshold(value Float.X)

func (Instance) SetGlowIntensity

func (self Instance) SetGlowIntensity(value Float.X)

func (Instance) SetGlowLevel

func (self Instance) SetGlowLevel(idx int, intensity Float.X)

Sets the intensity of the glow level [param idx]. A value above [code]0.0[/code] enables the level. Each level relies on the previous level. This means that enabling higher glow levels will slow down the glow effect rendering, even if previous levels aren't enabled.

func (Instance) SetGlowMap

func (self Instance) SetGlowMap(value [1]gdclass.Texture)

func (Instance) SetGlowMapStrength

func (self Instance) SetGlowMapStrength(value Float.X)

func (Instance) SetGlowMix

func (self Instance) SetGlowMix(value Float.X)

func (Instance) SetGlowNormalized

func (self Instance) SetGlowNormalized(value bool)

func (Instance) SetGlowStrength

func (self Instance) SetGlowStrength(value Float.X)

func (Instance) SetReflectedLightSource

func (self Instance) SetReflectedLightSource(value gdclass.EnvironmentReflectionSource)

func (Instance) SetSdfgiBounceFeedback

func (self Instance) SetSdfgiBounceFeedback(value Float.X)

func (Instance) SetSdfgiCascade0Distance

func (self Instance) SetSdfgiCascade0Distance(value Float.X)

func (Instance) SetSdfgiCascades

func (self Instance) SetSdfgiCascades(value int)

func (Instance) SetSdfgiEnabled

func (self Instance) SetSdfgiEnabled(value bool)

func (Instance) SetSdfgiEnergy

func (self Instance) SetSdfgiEnergy(value Float.X)

func (Instance) SetSdfgiMaxDistance

func (self Instance) SetSdfgiMaxDistance(value Float.X)

func (Instance) SetSdfgiMinCellSize

func (self Instance) SetSdfgiMinCellSize(value Float.X)

func (Instance) SetSdfgiNormalBias

func (self Instance) SetSdfgiNormalBias(value Float.X)

func (Instance) SetSdfgiProbeBias

func (self Instance) SetSdfgiProbeBias(value Float.X)

func (Instance) SetSdfgiReadSkyLight

func (self Instance) SetSdfgiReadSkyLight(value bool)

func (Instance) SetSdfgiUseOcclusion

func (self Instance) SetSdfgiUseOcclusion(value bool)

func (Instance) SetSdfgiYScale

func (self Instance) SetSdfgiYScale(value gdclass.EnvironmentSDFGIYScale)

func (Instance) SetSky

func (self Instance) SetSky(value [1]gdclass.Sky)

func (Instance) SetSkyCustomFov

func (self Instance) SetSkyCustomFov(value Float.X)

func (Instance) SetSkyRotation

func (self Instance) SetSkyRotation(value Vector3.XYZ)

func (Instance) SetSsaoAoChannelAffect

func (self Instance) SetSsaoAoChannelAffect(value Float.X)

func (Instance) SetSsaoDetail

func (self Instance) SetSsaoDetail(value Float.X)

func (Instance) SetSsaoEnabled

func (self Instance) SetSsaoEnabled(value bool)

func (Instance) SetSsaoHorizon

func (self Instance) SetSsaoHorizon(value Float.X)

func (Instance) SetSsaoIntensity

func (self Instance) SetSsaoIntensity(value Float.X)

func (Instance) SetSsaoLightAffect

func (self Instance) SetSsaoLightAffect(value Float.X)

func (Instance) SetSsaoPower

func (self Instance) SetSsaoPower(value Float.X)

func (Instance) SetSsaoRadius

func (self Instance) SetSsaoRadius(value Float.X)

func (Instance) SetSsaoSharpness

func (self Instance) SetSsaoSharpness(value Float.X)

func (Instance) SetSsilEnabled

func (self Instance) SetSsilEnabled(value bool)

func (Instance) SetSsilIntensity

func (self Instance) SetSsilIntensity(value Float.X)

func (Instance) SetSsilNormalRejection

func (self Instance) SetSsilNormalRejection(value Float.X)

func (Instance) SetSsilRadius

func (self Instance) SetSsilRadius(value Float.X)

func (Instance) SetSsilSharpness

func (self Instance) SetSsilSharpness(value Float.X)

func (Instance) SetSsrDepthTolerance

func (self Instance) SetSsrDepthTolerance(value Float.X)

func (Instance) SetSsrEnabled

func (self Instance) SetSsrEnabled(value bool)

func (Instance) SetSsrFadeIn

func (self Instance) SetSsrFadeIn(value Float.X)

func (Instance) SetSsrFadeOut

func (self Instance) SetSsrFadeOut(value Float.X)

func (Instance) SetSsrMaxSteps

func (self Instance) SetSsrMaxSteps(value int)

func (Instance) SetTonemapExposure

func (self Instance) SetTonemapExposure(value Float.X)

func (Instance) SetTonemapMode

func (self Instance) SetTonemapMode(value gdclass.EnvironmentToneMapper)

func (Instance) SetTonemapWhite

func (self Instance) SetTonemapWhite(value Float.X)

func (Instance) SetVolumetricFogAlbedo

func (self Instance) SetVolumetricFogAlbedo(value Color.RGBA)

func (Instance) SetVolumetricFogAmbientInject

func (self Instance) SetVolumetricFogAmbientInject(value Float.X)

func (Instance) SetVolumetricFogAnisotropy

func (self Instance) SetVolumetricFogAnisotropy(value Float.X)

func (Instance) SetVolumetricFogDensity

func (self Instance) SetVolumetricFogDensity(value Float.X)

func (Instance) SetVolumetricFogDetailSpread

func (self Instance) SetVolumetricFogDetailSpread(value Float.X)

func (Instance) SetVolumetricFogEmission

func (self Instance) SetVolumetricFogEmission(value Color.RGBA)

func (Instance) SetVolumetricFogEmissionEnergy

func (self Instance) SetVolumetricFogEmissionEnergy(value Float.X)

func (Instance) SetVolumetricFogEnabled

func (self Instance) SetVolumetricFogEnabled(value bool)

func (Instance) SetVolumetricFogGiInject

func (self Instance) SetVolumetricFogGiInject(value Float.X)

func (Instance) SetVolumetricFogLength

func (self Instance) SetVolumetricFogLength(value Float.X)

func (Instance) SetVolumetricFogSkyAffect

func (self Instance) SetVolumetricFogSkyAffect(value Float.X)

func (Instance) SetVolumetricFogTemporalReprojectionAmount

func (self Instance) SetVolumetricFogTemporalReprojectionAmount(value Float.X)

func (Instance) SetVolumetricFogTemporalReprojectionEnabled

func (self Instance) SetVolumetricFogTemporalReprojectionEnabled(value bool)

func (Instance) Sky

func (self Instance) Sky() [1]gdclass.Sky

func (Instance) SkyCustomFov

func (self Instance) SkyCustomFov() Float.X

func (Instance) SkyRotation

func (self Instance) SkyRotation() Vector3.XYZ

func (Instance) SsaoAoChannelAffect

func (self Instance) SsaoAoChannelAffect() Float.X

func (Instance) SsaoDetail

func (self Instance) SsaoDetail() Float.X

func (Instance) SsaoEnabled

func (self Instance) SsaoEnabled() bool

func (Instance) SsaoHorizon

func (self Instance) SsaoHorizon() Float.X

func (Instance) SsaoIntensity

func (self Instance) SsaoIntensity() Float.X

func (Instance) SsaoLightAffect

func (self Instance) SsaoLightAffect() Float.X

func (Instance) SsaoPower

func (self Instance) SsaoPower() Float.X

func (Instance) SsaoRadius

func (self Instance) SsaoRadius() Float.X

func (Instance) SsaoSharpness

func (self Instance) SsaoSharpness() Float.X

func (Instance) SsilEnabled

func (self Instance) SsilEnabled() bool

func (Instance) SsilIntensity

func (self Instance) SsilIntensity() Float.X

func (Instance) SsilNormalRejection

func (self Instance) SsilNormalRejection() Float.X

func (Instance) SsilRadius

func (self Instance) SsilRadius() Float.X

func (Instance) SsilSharpness

func (self Instance) SsilSharpness() Float.X

func (Instance) SsrDepthTolerance

func (self Instance) SsrDepthTolerance() Float.X

func (Instance) SsrEnabled

func (self Instance) SsrEnabled() bool

func (Instance) SsrFadeIn

func (self Instance) SsrFadeIn() Float.X

func (Instance) SsrFadeOut

func (self Instance) SsrFadeOut() Float.X

func (Instance) SsrMaxSteps

func (self Instance) SsrMaxSteps() int

func (Instance) TonemapExposure

func (self Instance) TonemapExposure() Float.X

func (Instance) TonemapMode

func (self Instance) TonemapMode() gdclass.EnvironmentToneMapper

func (Instance) TonemapWhite

func (self Instance) TonemapWhite() Float.X

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

func (Instance) VolumetricFogAlbedo

func (self Instance) VolumetricFogAlbedo() Color.RGBA

func (Instance) VolumetricFogAmbientInject

func (self Instance) VolumetricFogAmbientInject() Float.X

func (Instance) VolumetricFogAnisotropy

func (self Instance) VolumetricFogAnisotropy() Float.X

func (Instance) VolumetricFogDensity

func (self Instance) VolumetricFogDensity() Float.X

func (Instance) VolumetricFogDetailSpread

func (self Instance) VolumetricFogDetailSpread() Float.X

func (Instance) VolumetricFogEmission

func (self Instance) VolumetricFogEmission() Color.RGBA

func (Instance) VolumetricFogEmissionEnergy

func (self Instance) VolumetricFogEmissionEnergy() Float.X

func (Instance) VolumetricFogEnabled

func (self Instance) VolumetricFogEnabled() bool

func (Instance) VolumetricFogGiInject

func (self Instance) VolumetricFogGiInject() Float.X

func (Instance) VolumetricFogLength

func (self Instance) VolumetricFogLength() Float.X

func (Instance) VolumetricFogSkyAffect

func (self Instance) VolumetricFogSkyAffect() Float.X

func (Instance) VolumetricFogTemporalReprojectionAmount

func (self Instance) VolumetricFogTemporalReprojectionAmount() Float.X

func (Instance) VolumetricFogTemporalReprojectionEnabled

func (self Instance) VolumetricFogTemporalReprojectionEnabled() bool

type ReflectionSource

type ReflectionSource = gdclass.EnvironmentReflectionSource //gd:Environment.ReflectionSource
const (
	/*Use the background for reflections.*/
	ReflectionSourceBg ReflectionSource = 0
	/*Disable reflections. This provides a slight performance boost over other options.*/
	ReflectionSourceDisabled ReflectionSource = 1
	/*Use the [Sky] for reflections regardless of what the background is.*/
	ReflectionSourceSky ReflectionSource = 2
)

type SDFGIYScale

type SDFGIYScale = gdclass.EnvironmentSDFGIYScale //gd:Environment.SDFGIYScale
const (
	/*Use 50% scale for SDFGI on the Y (vertical) axis. SDFGI cells will be twice as short as they are wide. This allows providing increased GI detail and reduced light leaking with thin floors and ceilings. This is usually the best choice for scenes that don't feature much verticality.*/
	SdfgiYScale50Percent SDFGIYScale = 0
	/*Use 75% scale for SDFGI on the Y (vertical) axis. This is a balance between the 50% and 100% SDFGI Y scales.*/
	SdfgiYScale75Percent SDFGIYScale = 1
	/*Use 100% scale for SDFGI on the Y (vertical) axis. SDFGI cells will be as tall as they are wide. This is usually the best choice for highly vertical scenes. The downside is that light leaking may become more noticeable with thin floors and ceilings.*/
	SdfgiYScale100Percent SDFGIYScale = 2
)

type ToneMapper

type ToneMapper = gdclass.EnvironmentToneMapper //gd:Environment.ToneMapper
const (
	/*Linear tonemapper operator. Reads the linear data and passes it on unmodified. This can cause bright lighting to look blown out, with noticeable clipping in the output colors.*/
	ToneMapperLinear ToneMapper = 0
	/*Reinhardt tonemapper operator. Performs a variation on rendered pixels' colors by this formula: [code]color = color / (1 + color)[/code]. This avoids clipping bright highlights, but the resulting image can look a bit dull.*/
	ToneMapperReinhardt ToneMapper = 1
	/*Filmic tonemapper operator. This avoids clipping bright highlights, with a resulting image that usually looks more vivid than [constant TONE_MAPPER_REINHARDT].*/
	ToneMapperFilmic ToneMapper = 2
	/*Use the Academy Color Encoding System tonemapper. ACES is slightly more expensive than other options, but it handles bright lighting in a more realistic fashion by desaturating it as it becomes brighter. ACES typically has a more contrasted output compared to [constant TONE_MAPPER_REINHARDT] and [constant TONE_MAPPER_FILMIC].
	  [b]Note:[/b] This tonemapping operator is called "ACES Fitted" in Godot 3.x.*/
	ToneMapperAces ToneMapper = 3
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL