diff options
author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2023-02-04 21:38:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-04 21:38:25 +0300 |
commit | 2bd530270414ae19bcad358741ca9c253d5e5125 (patch) | |
tree | 47be98c19665c3971dffd31d3035156aedcdc7ab /doc/classes/CanvasGroup.xml | |
parent | 373295fa1580d732ad3be427b77d0fa74dce37a1 (diff) | |
parent | dfbf4390816bee93b373549afc125969d9f13d17 (diff) |
Merge pull request #72695 from clayjohn/CanvasGroup-shading
Avoid shading CanvasGroup nodes twice
Diffstat (limited to 'doc/classes/CanvasGroup.xml')
-rw-r--r-- | doc/classes/CanvasGroup.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/CanvasGroup.xml b/doc/classes/CanvasGroup.xml index 6eeff8fef3..45f77ba484 100644 --- a/doc/classes/CanvasGroup.xml +++ b/doc/classes/CanvasGroup.xml @@ -8,6 +8,7 @@ [b]Note:[/b] The [CanvasGroup] uses a custom shader to read from the backbuffer to draw its children. Assigning a [Material] to the [CanvasGroup] overrides the builtin shader. To duplicate the behavior of the builtin shader in a custom [Shader] use the following: [codeblock] shader_type canvas_item; + render_mode unshaded; uniform sampler2D screen_texture : hint_screen_texture, repeat_disable, filter_nearest; |