gazebosim / gazebosim/gz-rendering

Roughness map has no effect on environment map reflections

Open
#506 2 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 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.
![image](https://user-images.githubusercontent.com/42189537/145113741-edff90dd-e39b-45d2-b623-591f0775acdc.png)

## 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.
![image](https://user-images.githubusercontent.com/42189537/145114071-98afa637-6883-46e7-9efa-c360945c680b.png)

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.
![image](https://user-images.githubusercontent.com/42189537/145114549-dcae4d41-77d5-44dd-97d4-7819808dbf95.png)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.