mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Avoid shading CanvasGroup nodes twice
This commit is contained in:
parent
b0598dcdb7
commit
dfbf439081
4 changed files with 6 additions and 1 deletions
|
|
@ -2634,6 +2634,7 @@ RendererCanvasRenderRD::RendererCanvasRenderRD() {
|
|||
// Default CanvasGroup shader.
|
||||
|
||||
shader_type canvas_item;
|
||||
render_mode unshaded;
|
||||
|
||||
uniform sampler2D screen_texture : hint_screen_texture, repeat_disable, filter_nearest;
|
||||
|
||||
|
|
@ -2661,6 +2662,7 @@ void fragment() {
|
|||
// Default clip children shader.
|
||||
|
||||
shader_type canvas_item;
|
||||
render_mode unshaded;
|
||||
|
||||
uniform sampler2D screen_texture : hint_screen_texture, repeat_disable, filter_nearest;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue