Skip to content
New issue

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

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

Already on GitHub? # to your account

Black screen on GLES2 #4

Closed
cmrqs opened this issue Sep 21, 2021 · 3 comments
Closed

Black screen on GLES2 #4

cmrqs opened this issue Sep 21, 2021 · 3 comments

Comments

@cmrqs
Copy link

cmrqs commented Sep 21, 2021

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
Copy link
Owner

paulloz commented Sep 21, 2021

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

  • Godot version
  • OS version
  • GPU model + driver version

Thanks!

@cmrqs
Copy link
Author

cmrqs commented Sep 21, 2021

Thanks for the quick response!

  • Godot version: Custom build 3.3.4 (also tested on 3.3.3-stable, same issue)
  • OS version: Coding in Arch Linux, exporting to Android 10 (also same issue)
  • GPU model + driver version: GeForce GTX 1650 (nvidia-dkms 470.74) | Adreno 630 OpenGL 3.2

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

@cmrqs
Copy link
Author

cmrqs commented Sep 22, 2021

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?

@cmrqs cmrqs closed this as completed Sep 22, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants