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

GUI rendered dark in some systems #208

Open
quarkytale opened this issue Feb 19, 2022 · 4 comments
Open

GUI rendered dark in some systems #208

quarkytale opened this issue Feb 19, 2022 · 4 comments

Comments

@quarkytale
Copy link
Contributor

The GUI is loading darker for some systems.

Wiki GUI:
light

Darker:
dark

And really light:
a (1)

Need to investigate what's causing this.

Notes from previous discussions:

  • Possibly due to different driver versions, if the driver very out of date.
  • No errors in OGRE logs

@WilliamLewww please add your findings too!

@mabelzhang
Copy link
Contributor

mabelzhang commented Feb 19, 2022

Original discussion from #186 (comment)

@WilliamLewww if you could ticket something upstream in osrf/gazebo with your troubleshooting so far and tag it here, that'd be great!

@WilliamLewww
Copy link

WilliamLewww commented Feb 28, 2022

I think that this issue has something to do with shadows. I was able to reproduce the same effect on two different machines where one would render everything lightly (light system) and one would render everything dark (dark system).

When digging into the shaders for the light system, I was able to tinker with the shadow specific parts to get a similar result to the dark system. I'm thinking that the dark system is somehow rendering shadows over every surface while the light system doesn't render the shadows at all.

a
a (1)

@bsb808
Copy link
Contributor

bsb808 commented Mar 1, 2022

Wow - that is a very subtle bug to track down - nice work!

@mabelzhang
Copy link
Contributor

mabelzhang commented Mar 1, 2022

I'm surprised if this is the first time it's been discovered though, if there's nothing unusually specific about the way lights are used in the DAVE worlds - are they? Maybe there's a local fix.

I found this issue - is it related? gazebosim/gazebo-classic#2686
There are a few shadow-related issues in osrf/gazebo
https://github.com/osrf/gazebo/issues?q=is%3Aissue+is%3Aopen+shadow
I'm just looking to see if there's already an existing ticket about it, otherwise the troubleshooting would go to a new ticket upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants