Skip to content

Commit

Permalink
Revert "CARTO: Update QuadbinHeatmapTileLayer to use project UBO (#8908
Browse files Browse the repository at this point in the history
…)"

This reverts commit 9ee8c5d.
  • Loading branch information
felixpalmer committed May 24, 2024
1 parent 4eecc3c commit 5c096b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/carto/src/layers/quadbin-heatmap-tile-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class RTTSolidPolygonLayer extends RTTModifier(SolidPolygonLayer) {
float value = 255.0 * dot(SHIFT, color.rgb);
// Keep "power" delivered to screen constant when tiles update
float relativeZoom = log2(project.scale) - cellResolution + 3.5; // range 0-1
float relativeZoom = log2(project_uScale) - cellResolution + 3.5; // range 0-1
float relativeArea = pow(2.0, -2.0 * relativeZoom); // range 0.25-1
value *= relativeArea;
Expand Down

0 comments on commit 5c096b9

Please sign in to comment.