Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The goal of this project is to rewrite and consolidate the existing codebases fo


## Attribution
World Continent data comes from hub.arcgis.com/datasets/esri::world-continents/explore
World Continent data comes from hub.arcgis.com/datasets/esri::world-continents/explore
Sentinel-1 Data is provided by the Alaska Satellite Facility

## Contributers
Expand Down
2 changes: 1 addition & 1 deletion src/canvas/shaders/colormap.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fn fs_main(in: VertexOutput) -> @location(0) vec4<f32> {

var color = textureLoad(colormap_tex, u32(map_coord), 0);

color.a = clamp(pow(f32(weight), 2.0)/(max_weight.x*4), 0.1, 1.0);
color.a = clamp(pow(f32(weight), 2.0)/(max_weight.x*4), 0.3, 1.0);

return vec4<f32>(color);
}
2 changes: 1 addition & 1 deletion src/canvas/texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn generate_blend_texture(

/// Generates 2 1D texture with the colormaps the heatmap will use
pub fn generate_colormaps(device: &wgpu::Device, queue: &wgpu::Queue) -> TextureContext {
let display_colormap_bytes: &[u8; _] = include_bytes!("../../assets/plasma.png");
let display_colormap_bytes: &[u8; _] = include_bytes!("../../assets/viridis.png");

generate_colormap_texture(device, queue, display_colormap_bytes)
}
Expand Down
Loading