From e115012994ca2c06dc1b125be4d95334149b365b Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Fri, 22 Mar 2019 10:42:54 +0800 Subject: [PATCH] fix(source) --- demos/heatmap.html | 13 +- package.json | 1 + src/core/engine/CopyShader.js | 54 ++++++++ src/core/engine/EffectComposer.js | 21 +++ src/core/engine/MaskPass.js | 97 +++++++++++++ src/core/engine/ShaderPass.js | 78 +++++++++++ src/core/engine/composer.js | 150 +++++++++++++++++++++ src/core/source.js | 5 + src/geom/material/heatmapMateial.js | 3 +- src/geom/shader/heatmap_colorize_frag.glsl | 3 +- src/layer/render/heatmap/heatmap.js | 4 +- src/map/AMap.js | 4 + src/source/transform/cluster.js | 52 +++++++ test/unit/source/transfrom/cluster-spec.js | 29 ++++ 14 files changed, 505 insertions(+), 9 deletions(-) create mode 100755 src/core/engine/CopyShader.js create mode 100755 src/core/engine/EffectComposer.js create mode 100755 src/core/engine/MaskPass.js create mode 100755 src/core/engine/ShaderPass.js create mode 100755 src/core/engine/composer.js create mode 100644 src/source/transform/cluster.js create mode 100644 test/unit/source/transfrom/cluster-spec.js diff --git a/demos/heatmap.html b/demos/heatmap.html index ed25b8dbed..0a5d3ff327 100644 --- a/demos/heatmap.html +++ b/demos/heatmap.html @@ -13,14 +13,14 @@
- +