[core] Update debug collision circle shader.

Fixes issue #10876.
This commit is contained in:
Chris Loer
2018-01-09 12:26:29 -08:00
committed by Chris Loer
parent 145a0ee6d0
commit 966606a107
3 changed files with 3 additions and 2 deletions

View File

@@ -74,6 +74,7 @@
"render-tests/regressions/mapbox-gl-js#5370": "skip - https://github.com/mapbox/mapbox-gl-native/pull/9439",
"render-tests/regressions/mapbox-gl-js#5599": "https://github.com/mapbox/mapbox-gl-native/issues/10399",
"render-tests/regressions/mapbox-gl-js#5740": "https://github.com/mapbox/mapbox-gl-native/issues/10619",
"render-tests/regressions/mapbox-gl-js#5947": "https://github.com/mapbox/mapbox-gl-native/issues/10678",
"render-tests/regressions/mapbox-gl-native#7357": "https://github.com/mapbox/mapbox-gl-native/issues/7357",
"render-tests/runtime-styling/image-add-sdf": "https://github.com/mapbox/mapbox-gl-native/issues/9847",
"render-tests/runtime-styling/paint-property-fill-flat-to-extrude": "https://github.com/mapbox/mapbox-gl-native/issues/6745",

View File

@@ -68,7 +68,7 @@ void main() {
float extrude_scale_length = length(v_extrude_scale);
float extrude_length = length(v_extrude) * extrude_scale_length;
float stroke_width = 3.0;
float stroke_width = 15.0 * extrude_scale_length;
float radius = v_radius * extrude_scale_length;
float distance_to_edge = abs(extrude_length - radius);