1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Merge pull request #38097 from Calinou/add-viewport-debanding

Add a debanding property to Viewport
This commit is contained in:
Juan Linietsky
2020-10-19 14:15:44 -03:00
committed by GitHub
16 changed files with 82 additions and 14 deletions

View File

@@ -188,7 +188,7 @@ class RasterizerEffectsRD {
float pixel_size[2];
uint32_t use_fxaa;
uint32_t pad;
uint32_t use_debanding;
};
/* tonemap actually writes to a framebuffer, which is
@@ -651,6 +651,7 @@ public:
RID color_correction_texture;
bool use_fxaa = false;
bool use_debanding = false;
Vector2i texture_size;
};