Skip to content

Commit

Permalink
hexagon layer lighting
Browse files Browse the repository at this point in the history
  • Loading branch information
heshan0131 committed Mar 30, 2017
1 parent 994ae0f commit de6445a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/src/components/demos/heatmap-demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class HeatmapDemo extends Component {
static get parameters() {
return {
radius: {displayName: 'Radius', type: 'range', value: 2000, step: 100, min: 500, max: 20000},
coverage: {displayName: 'Coverage', type: 'range', value: 1, step: 0.1, min: 0, max: 1},
coverage: {displayName: 'Coverage', type: 'range', value: 0.7, step: 0.1, min: 0, max: 1},
upperPercentile: {displayName: 'Upper Percentile',
type: 'range', value: 100, step: 0.1, min: 0, max: 100}
};
Expand Down
4 changes: 2 additions & 2 deletions examples/3d-heatmap/deckgl-overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import DeckGL, {HexagonLayer} from 'deck.gl';

const LIGHT_SETTINGS = {
lightsPosition: [-0.144528, 49.739968, 8000, -3.807751, 54.104682, 8000],
ambientRatio: 0.6,
ambientRatio: 0.45,
diffuseRatio: 0.6,
specularRatio: 0.3,
specularRatio: 0.2,
lightsStrength: [0.8, 0.0, 0.8, 0.0],
numberOfLights: 2
};
Expand Down

0 comments on commit de6445a

Please sign in to comment.