mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-13 15:43:34 +00:00
adding waves to water, improving water color, fixing underwater view
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user