Skip to content

Is there any way set GLControl background Transparent? #27

Description

@ToukiLiu

I'm opengl beginer.
And I'm trying to let GLControl overlap on other UserControls, to show both of GLControl's element and bottom UserControl's element.
But GLContorl's background Transparent is not work.
Both of

m_glc = new GLControl();
winform.Child = m_glc;
winform.Child.BackColor = System.Drawing.Color.Transparent;

and

GL.ClearColor(0.0f, 0.0f, 0.0f, 0.0f);

didn't work.

Is there any way set GLControl background Transparent?

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions