Skip to content

Commit

Permalink
Merge pull request #7563 from AnalyticalGraphicsInc/gamma-correct-sil…
Browse files Browse the repository at this point in the history
…houette

Apply gamma correction to silhouette color
  • Loading branch information
emackey authored Feb 15, 2019
2 parents 039375c + 0ba62ce commit 9219277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Change Log
* Fixed an issue where some ground polygons crossing the Prime Meridian would have incorrect bounding rectangles. [#7533](https://github.com/AnalyticalGraphicsInc/cesium/pull/7533)
* Fixed an issue where polygons on terrain using rhumb lines where being rendered incorrectly. [#7538](https://github.com/AnalyticalGraphicsInc/cesium/pulls/7538)
* Fixed an issue with `EllipsoidRhumbLines.findIntersectionWithLongitude` when longitude was IDL. [#7551](https://github.com/AnalyticalGraphicsInc/cesium/issues/7551)
* Fixed model silhouette colors when rendering with high dynamic range. [#7563](https://github.com/AnalyticalGraphicsInc/cesium/pull/7563)
* Fixed an issue with ground polylines on globes that use ellipsoids other than WGS84. [#7552](https://github.com/AnalyticalGraphicsInc/cesium/issues/7552)

### 1.54 - 2019-02-01
Expand Down
2 changes: 1 addition & 1 deletion Source/Scene/Model.js
Original file line number Diff line number Diff line change
Expand Up @@ -3874,7 +3874,7 @@ define([
'uniform vec4 gltf_silhouetteColor; \n' +
'void main() \n' +
'{ \n' +
' gl_FragColor = gltf_silhouetteColor; \n' +
' gl_FragColor = czm_gammaCorrect(gltf_silhouetteColor); \n' +
'}';

return ShaderProgram.fromCache({
Expand Down

0 comments on commit 9219277

Please sign in to comment.