paulloz / godot-colorblindness

A colorblindness simulator to help you design for everyone.
MIT License
117 stars 6 forks source link

Black screen on GLES2 #4

Closed cmrqs closed 3 years ago

cmrqs commented 3 years ago

Hello! I'm not sure if this is GLES3-only, but I get the following error using GLES2:

E 0:00:00.436 _copy_screen: Can't use screen texture copying in a render target configured without copy buffers. <C++ Error> Condition "storage->frame.current_rt->copy_screen_effect.color == 0" is true. <C++ Source> drivers/gles2/rasterizer_canvas_base_gles2.cpp:734 @ _copy_screen()

paulloz commented 3 years ago

I just tried with a brand new GLES2 project and didn't experience any issue. Could you share your environment details?

Thanks!

cmrqs commented 3 years ago

Thanks for the quick response!

As you can see in this image, it does work on editor, but I get this (both on Linux and Android) when executed.

cmrqs commented 3 years ago

Oh! So I found what's wrong. I had "Framebuffer Allocation" set as "2D without Sampling". When I changed to "2D" it worked :)

Maybe you should add this to README?