From 63a34b93aa7ddbacec3fe12bd1b5493cba68087b Mon Sep 17 00:00:00 2001 From: clayjohn Date: Sat, 19 Sep 2020 15:02:32 -0700 Subject: Optimize Glow with local memory --- doc/classes/Environment.xml | 47 ++++++++++++++++++++++------------------- doc/classes/RenderingServer.xml | 2 +- 2 files changed, 26 insertions(+), 23 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/Environment.xml b/doc/classes/Environment.xml index 8afc18f91b..3923f3bcc8 100644 --- a/doc/classes/Environment.xml +++ b/doc/classes/Environment.xml @@ -18,24 +18,24 @@ https://godotengine.org/asset-library/asset/678 - - + + - Returns [code]true[/code] if the glow level [code]idx[/code] is specified, [code]false[/code] otherwise. + Returns the intensity of the glow level [code]idx[/code]. - + - + - Enables or disables the glow level at index [code]idx[/code]. 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. + Sets the intensity of the glow level [code]idx[/code]. 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. @@ -132,33 +132,36 @@ The lower threshold of the HDR glow. When using the GLES2 renderer (which doesn't support HDR), this needs to be below [code]1.0[/code] for glow to be visible. A value of [code]0.9[/code] works well in this case. - The glow intensity. When using the GLES2 renderer, this should be increased to 1.5 to compensate for the lack of HDR rendering. + The overall brightness multiplier of the glow effect. When using the GLES2 renderer, this should be increased to 1.5 to compensate for the lack of HDR rendering. - - If [code]true[/code], the 1st level of glow is enabled. This is the most "local" level (least blurry). + + The intensity of the 1st level of glow. This is the most "local" level (least blurry). - - If [code]true[/code], the 2th level of glow is enabled. + + The intensity of the 2nd level of glow. - - If [code]true[/code], the 3th level of glow is enabled. + + The intensity of the 3rd level of glow. - - If [code]true[/code], the 4th level of glow is enabled. + + The intensity of the 4th level of glow. - - If [code]true[/code], the 5th level of glow is enabled. + + The intensity of the 5th level of glow. - - If [code]true[/code], the 6th level of glow is enabled. + + The intensity of the 6th level of glow. - - If [code]true[/code], the 7th level of glow is enabled. This is the most "global" level (blurriest). + + The intensity of the 7th level of glow. This is the most "global" level (blurriest). + + If [code]true[/code], glow levels will be normalized so that summed together their intensities equal [code]1.0[/code]. + - The glow strength. When using the GLES2 renderer, this should be increased to 1.3 to compensate for the lack of HDR rendering. + The strength of the glow effect. This applies as the glow is blurred across the screen and increases the distance and intensity of the blur. When using the GLES2 renderer, this should be increased to 1.3 to compensate for the lack of HDR rendering. diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 456022a626..857c13deb5 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -718,7 +718,7 @@ - + -- cgit v1.2.3