feat: wire vertical exaggeration through the shell #13
+1
-1
@@ -379,7 +379,7 @@ pub fn render_perspective_with_quality(
|
||||
if let Some(terrain_h) = sample_height_bilinear(grid, p.x, p.z) {
|
||||
let terrain_h = terrain_height(scene, terrain_h);
|
||||
if p.y <= terrain_h {
|
||||
let band = scene_color(scene, terrain_h);
|
||||
let band = surface_color(scene, terrain_h, nx, nz);
|
||||
let distance_fade = (t / max_dist).clamp(0.0, 1.0);
|
||||
let fade = distance_fade * haze_strength;
|
||||
hit_color = Some(mix_color(band, sky, fade));
|
||||
|
||||
Reference in New Issue
Block a user