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

Light2D with shadows enabled near an occluder displays errors instead of shadows #8560

Closed
eon-s opened this issue Apr 27, 2017 · 1 comment
Closed

Comments

@eon-s
Copy link
Contributor

eon-s commented Apr 27, 2017

Ubuntu 17.04 - Godot version: 3 master
Using Nvidia 375.39 drivers.

Issue description:
Light2D starts spamming "meseges" when shadow is enabled and a LightOccluder2D is in range.
This happens in editor.

Steps to reproduce:

  • Create a LightOccluder2D.
  • Add a Light2D with the occluder in range.
  • Enable shadows on the Light2D.
  • Watch the terminal output get eclipsed by meseges.

The message spammed when turning shadows in editor is:

mesege
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL	Type: Error	ID: 1282Severity: High	Message: GL_INVALID_OPERATION error generated. Array object is not active.
   At: drivers/gles3/rasterizer_gles3.cpp:123.


Turning on the shadow while running got an extra error sometimes between the other:

mesege
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL	Type: Error	ID: 1282Severity: High	Message: GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.
   At: drivers/gles3/rasterizer_gles3.cpp:123.


And this error too but saw it while running other things (sometimes while opening the editor) so I guess it is not related

mesege
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL	Type: Performance	ID: 131218	Severity: Medium	Message: Program/shader state performance warning: Vertex shader in program 4 is being recompiled based on GL state.
   At: drivers/gles3/rasterizer_gles3.cpp:123.

@Zireael07
Copy link
Contributor

"mesege" :D :D :D

@bojidar-bg bojidar-bg added this to the 3.0 milestone May 16, 2017
@reduz reduz closed this as completed in a8a1f2e Jun 13, 2017
groscalin pushed a commit to groscalin/godot that referenced this issue Jul 15, 2017
-Ability to smooth out 2D shadow filters
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