Skip to content

Commit 9e8a887

Browse files
committed
feat: add additional color ramp with opacity
1 parent 8c1c8ac commit 9e8a887

File tree

4 files changed

+68
-0
lines changed

4 files changed

+68
-0
lines changed

config/tileset/hillshade.dsm.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,23 @@
3535
"g": 182,
3636
"b": 182,
3737
"alpha": 1
38+
},
39+
"default": true
40+
},
41+
{
42+
"title": "Color ramp (Opacity)",
43+
"name": "color-ramp-opacity",
44+
"pipeline": [
45+
{
46+
"type": "color-ramp",
47+
"ramp": "0 0 0 0 255\n255 0 0 0 0"
48+
}
49+
],
50+
"background": {
51+
"r": 0,
52+
"g": 0,
53+
"b": 0,
54+
"alpha": 0
3855
}
3956
}
4057
]

config/tileset/hillshade.igor.dsm.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,23 @@
3535
"g": 255,
3636
"b": 255,
3737
"alpha": 1
38+
},
39+
"default": true
40+
},
41+
{
42+
"title": "Color ramp (Opacity)",
43+
"name": "color-ramp-opacity",
44+
"pipeline": [
45+
{
46+
"type": "color-ramp",
47+
"ramp": "0 0 0 0 255\n255 0 0 0 0"
48+
}
49+
],
50+
"background": {
51+
"r": 0,
52+
"g": 0,
53+
"b": 0,
54+
"alpha": 0
3855
}
3956
}
4057
]

config/tileset/hillshade.igor.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,23 @@
3535
"g": 255,
3636
"b": 255,
3737
"alpha": 1
38+
},
39+
"default": true
40+
},
41+
{
42+
"title": "Color ramp (Opacity)",
43+
"name": "color-ramp-opacity",
44+
"pipeline": [
45+
{
46+
"type": "color-ramp",
47+
"ramp": "0 0 0 0 255\n255 0 0 0 0"
48+
}
49+
],
50+
"background": {
51+
"r": 0,
52+
"g": 0,
53+
"b": 0,
54+
"alpha": 0
3855
}
3956
}
4057
]

config/tileset/hillshade.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,23 @@
3535
"g": 182,
3636
"b": 182,
3737
"alpha": 1
38+
},
39+
"default": true
40+
},
41+
{
42+
"title": "Color ramp (Opacity)",
43+
"name": "color-ramp-opacity",
44+
"pipeline": [
45+
{
46+
"type": "color-ramp",
47+
"ramp": "0 0 0 0 255\n255 0 0 0 0"
48+
}
49+
],
50+
"background": {
51+
"r": 0,
52+
"g": 0,
53+
"b": 0,
54+
"alpha": 0
3855
}
3956
}
4057
]

0 commit comments

Comments
 (0)