adding waves to water, improving water color, fixing underwater view

This commit is contained in:
2025-06-02 17:30:15 +02:00
parent f6decee5fa
commit f26ad5855d
10 changed files with 86 additions and 51 deletions

View File

@@ -37,7 +37,7 @@ fn main(input: VertOut) -> FragOut
discard;
const ambient = vec3[f32](0.1, 0.1, 0.1);
const directional_color = vec3[f32](5.0, 5.0, 5.0);
const directional_color = vec3[f32](2.5, 2.5, 2.5);
const specular_strength = 0.5;
let directional_vector = normalize(vec3[f32](1.0, 0.8, 0.75));