mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Always perform color correction and debanding on nonlinear sRGB values.
Fixes #107730 Co-authored-by: LuoZhihao <luo_zhihao@outlook.com>
This commit is contained in:
parent
4d1f26e1fd
commit
a1591512f8
15 changed files with 82 additions and 20 deletions
|
|
@ -73,7 +73,6 @@ protected:
|
|||
|
||||
float rotation_sin;
|
||||
float rotation_cos;
|
||||
float pad[2];
|
||||
|
||||
float eye_center[2];
|
||||
float k1;
|
||||
|
|
@ -83,6 +82,8 @@ protected:
|
|||
float aspect_ratio;
|
||||
uint32_t layer;
|
||||
uint32_t convert_to_srgb;
|
||||
uint32_t use_debanding;
|
||||
float pad;
|
||||
};
|
||||
|
||||
struct Blit {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue