From 6f591441fe968243459a49fa03aaef2583d47b28 Mon Sep 17 00:00:00 2001 From: Sean Lilley Date: Tue, 12 Feb 2019 08:57:24 -0500 Subject: [PATCH 1/2] Apply gamma correction to silhouette color --- Source/Scene/Model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Scene/Model.js b/Source/Scene/Model.js index fbf1cfcde784..5f22e191f742 100644 --- a/Source/Scene/Model.js +++ b/Source/Scene/Model.js @@ -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({ From 869722a4d4590faa092851bf1750724822e12550 Mon Sep 17 00:00:00 2001 From: Sean Lilley Date: Thu, 14 Feb 2019 10:53:21 -0500 Subject: [PATCH 2/2] Update CHANGES.md --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index d36067da186d..6ec1209144ce 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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) ### 1.54 - 2019-02-01