CesiumGS / CesiumGS/cesium

HDR hits the background color

Open
#7,732 4 comments 0 reactions 0 assignees View on GitHub
category - graphics type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

![image](https://user-images.githubusercontent.com/3451886/55821924-90c26d00-5acc-11e9-90cb-0c75342c8f95.png)

I want the globe on a white background, but if `highDynamicRange` is enabled the background is not white.

```js
var viewer = new Cesium.Viewer('cesiumContainer', {
skyBox: false
});
viewer.scene.backgroundColor = Cesium.Color.clone(Cesium.Color.WHITE);
//viewer.scene.highDynamicRange = false;
```

Contributor guide

Open the contributing guide

Research direction

Start by running the provided Cesium Viewer snippet with skyBox disabled, a white backgroundColor, and highDynamicRange enabled. Trace the rendering entry points related to scene.backgroundColor and scene.highDynamicRange, then verify that the globe renders with a white background while HDR remains enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.