Home > three-loader-3dtiles > DrapingShaderOptions
Signature:
interface DrapingShaderOptions
Property | Modifiers | Type | Description |
---|---|---|---|
blendingType | Blending | Blending algoritum of the draped colors. Default: THREE.NormalBlending |
|
maxHeight | number | Maximum terrain height when searching for a matching vertex to the GEOJson overlay. Default: 300 |
|
minHeight | number | Minimum terrain height when searching for a matching vertex to the GEOJson overlay. Default: 0 |
|
opacity | number | Opacity of the draped colors. Default: 0.5 |
|
samples | number | Number of samples to average around the render target cordinate when draping the GEOJson overlay. Default: 4 |
|
sampleStep | number | Number of pixels to step toward each sample when averaging the samples. Default: 4.0 |