Skip to content

Problem with GLFramebuffer::DrawBuffers #17

Description

@vulxin

I think there is some problem with this function:

void GLFramebuffer::DrawBuffers(const unsigned int attachments[]) const {
	glDrawBuffers(sizeof(attachments) / sizeof(attachments[0]), attachments);
}

The first parameter value passed to glDrawBuffers will always be 1.

m_hdrFBO.DrawBuffers(attachments);

Maybe because of this, I can't see the bloom effect 😞

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions