Re: GLJPanel is filled red when running on integrated card
Posted by
Sven Gothel on
URL: https://forum.jogamp.org/GLJPanel-is-filled-red-when-running-on-integrated-card-tp4032952p4032954.html
On 08/29/2014 01:25 AM, ajbond [via jogamp] wrote:
> Hi,
>
> I have an issue with GLPanel. I am creating GJPanel using default GLProfile
> and GLCapabilities and after running on my laptop with integrated card I get
> this:
>
>
>
> getChosenGLCapabilities() returns this: GLCaps[wgl vid 6 arb: rgba 8/8/8/0,
> opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono , hw,
> GLProfile[GL2/GL2.hw], offscr[fbo]]
>
> But, if I set glcapabilities.setAlphaBits(1) panel looks normal:
>
>
>
> and getChosenGLCapabilities() returns: GLCaps[wgl vid 6 arb: rgba 8/8/8/8,
> opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono , hw,
> GLProfile[GL2/GL2.hw], offscr[fbo]]
>
> Can anyone help me to understand the reason of this problem? Or, at least, to
> find the way to detect configurations that affected by this issue.
Interesting, you use a non opaque GLJPanel
and see only the red background when having no alpha framebuffer/caps?
Read GLJPanel's API doc 'skipping vertical flip is highly recommended',
i.e. dropping the GLSL vertical flip while performing it yourself.
If this helps, or jogl.gljpanel.noglsl, then the GLSL shader somewhat doesn't
work.
~Sven