Lighting is enabled regardless of preference

Bug #1186714 reported by CatKiller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Incomplete
Undecided
MC Return

Bug Description

The diffuse lighting is enabled, and no amount of fiddling with CompizConfig Settings Manager can make it go away. Another relatively recent change; I noticed it in the last few releases. Currently using 1:0.9.10.2-1-experimental1+bzr3733-201306012204~quantal1.

MC Return (mc-return)
Changed in compiz:
assignee: nobody → MC Return (mc-return)
Revision history for this message
MC Return (mc-return) wrote :

CatKiller, why do you think that this is the case ?

You can disable global OpenGL Lighting in the OpenGL plugin... it *should* work and trigger this code:

void
GLScreen::setLighting (bool lighting)
{
    #ifndef USE_GLES
    if (priv->lighting != lighting)
    {
 if (!priv->optionGetLighting ())
     lighting = false;

 if (lighting)
 {
     glEnable (GL_COLOR_MATERIAL);
     glEnable (GL_LIGHTING);
 }
 else
 {
     glDisable (GL_COLOR_MATERIAL);
     glDisable (GL_LIGHTING);
 }

 priv->lighting = lighting;

 setTexEnvMode (GL_REPLACE);
    }
    #endif
}

The only plugin that sets GL_LIGHTING by itself is Gears. Do you have Gears enabled ?

Btw, CatKiller, the experimental version you are using is not trunk Compiz, hope you are aware of that...

MC Return (mc-return)
Changed in compiz:
status: New → Incomplete
Revision history for this message
CatKiller (catkiller) wrote :

It doesn't work. That's why I think it doesn't work.

I'm perfectly aware of the diffuse lighting (I've experienced its fugliness before) and how to turn it off. Turning it off currently doesn't turn it off. It came on despite the fact that it was disabled in the settings, and remains on however that setting is set.

I don't have Gears enabled.

I couldn't find where to file bug reports against the experimental branch other than here. I'm running the experimental branch because that got me window previews back. I'm hoping that blur is the next one to be ported, but I understand that might be a while :)

Revision history for this message
CatKiller (catkiller) wrote :

OK, enabling framebuffer object gives lighting, disabling it disables lighting.

The Lighting toggle, it does nothing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.