gazebosim / gazebosim/gz-rendering
Roughness map has no effect on environment map reflections
- Dominant language
- C++
- Stars
- 81
- Forks
- 90
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 10
Description
## Environment
* OS Version: Ubuntu 20.04
Ignition Fortress, source
## Description
* Expected behavior: Roughness maps should affect the sharpness of the environment map applied to objects.
* Actual behavior: Roughness maps have no effect on the reflectivity from the environment map
## Steps to reproduce
1. Create an object and apply an environment map.
2. Adjust the roughness value from 0 to 1. Note the reflection remains sharp and unchanged regardless of the roughness value.
3. A high roughness value should be making the reflection more diffuse like this.

## Output
Based on this image on fuel it appears that roughness used to work as you would expect. Note the roughness map is causing the reflection on the body of the extinguisher to become diffuse.

Compared to current functionality where the reflection is 100% sharp and the reflection intensity is even on the entire model since the roughness map is not being used to control the roughness of the different surfaces of the model.

Contributor guide
Research direction
Reproduce the issue in Ignition Fortress on Ubuntu 20.04 using the listed environment-map and roughness steps. Start by tracing the environment-map reflection and roughness handling in the rendering implementation and compare behavior across the supported rendering engines. Done means roughness values and maps change reflection sharpness and surface variation as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100