gazebosim / gazebosim/gz-rendering

Ambient light is not taken into account in Ogre1

Open
#1,015 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
C++
Stars
81
Forks
90
Avg merge
1d 13h
Merged PRs (30d)
10

Description

## Environment
* OS Version: Ubuntu 22.04
* Source or binary build? binary gz-rendering 8.2.0

## Description
* Expected behavior: Ambient light to affect scne
* Actual behavior: Changing ambient colors in the `` tag or in `MinimalScene`'s `` seems to have no effect.

## Steps to reproduce

1. Run the following SDF file
```xml



1 1 1 1



ogre
scene
1 1 1 1
-6 0 6 0 0.5 0









2 2 2



1 1 1 1




```
3. You should see a black box, but it should be grey or white
4. Try changing `` or `` and run again to see any change.

## Output

This is what it looks like locally.
![image](https://github.com/gazebosim/gz-rendering/assets/206116/4a46b7e7-7a39-4dbf-8c80-003b1801989a)

Running it with ogre2 shows:
![image](https://github.com/gazebosim/gz-rendering/assets/206116/cfcb6f0b-dc07-403e-b6b9-c16c49ad6a42)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.