Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Color output for visual server #56248

Closed
Variable-ind opened this issue Dec 26, 2021 · 1 comment
Closed

Incorrect Color output for visual server #56248

Variable-ind opened this issue Dec 26, 2021 · 1 comment

Comments

@Variable-ind
Copy link

Variable-ind commented Dec 26, 2021

Godot version

3.4.2 stable

System information

Linux Mint 20.2 Cinnamon, Opengl used: GLES2, Graphics: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller

Issue description

There seems to be a bug regarding VisualServer that if the input texture has alpha value less than 255 by a given percentage (say 50%) then even if nothing's being done, the (RGB) values of the texture obtained by VisualServer.texture_get_data() would also get decreased by the same percentage (in this case 50%) of their original values

The example project tests the outputs of given colored input images

Youtube Link cause for some reason it wasn't uploading here

Steps to reproduce

Given in example project

Minimal reproduction project

VisualServer bug.zip

@Calinou
Copy link
Member

Calinou commented Dec 26, 2021

Duplicate of #17574.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants