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

FBOs in FBOs and Presentation class #3

Open
h3rb opened this issue Dec 2, 2020 · 0 comments
Open

FBOs in FBOs and Presentation class #3

h3rb opened this issue Dec 2, 2020 · 0 comments
Assignees
Labels
accepted This bug or feature has been confirmed / accepted and should be fixed. bug Something isn't working

Comments

@h3rb
Copy link
Member

h3rb commented Dec 2, 2020

Describe the bug

There seems to be some issue with FBOs and the Presentation class. This issue is related to drawing FBOs on an FBO (possibly). In Fringes fork of this repo, after updating to use new Art2d texShader handler, the title screen does not appear. This is a presentation. Removing nested FBO writes revealed that the Presentation drawing methods appear upside down and in the wrong place (the latter issue is due to it not being drawn off screen). With the nested FBO, the title screen appears black. Also, the cursor does not draw, indicating there is a state issue.

Musings about what might solve the issue include inspecting the rendering pipeline, utilizing a GL debugger, resolving any pipeline issues with the shader.

A related issue may be the class that replaces/handles glScissor (has no useful functionality anymore?), and figuring out how to clean up or remove this feature if no longer needed.

To Reproduce
Steps to reproduce the behavior:

  1. Invoke a looping Presentation onto an FBO in a GLWindow loaded into the windows list

Expected behavior
Draw like it used to when using immediate mode to draw the FBOs to screen.

@h3rb h3rb self-assigned this Dec 2, 2020
@h3rb h3rb added the bug Something isn't working label Dec 2, 2020
@h3rb h3rb added the accepted This bug or feature has been confirmed / accepted and should be fixed. label Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted This bug or feature has been confirmed / accepted and should be fixed. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant