From 575d3432760ed0f5d12275aea559ee22099f45fc Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 28 Sep 2023 19:58:54 -0700 Subject: [PATCH] relax the wetness --- src/shader.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shader.wgsl b/src/shader.wgsl index 7e8c5ca..1025a46 100644 --- a/src/shader.wgsl +++ b/src/shader.wgsl @@ -106,5 +106,5 @@ fn fs_entity_texture(vertex: EntityOutputTexture) -> @location(0) vec4 { let fragment_color = textureSample(model_texture, model_sampler, vertex.texture)*vertex.color; let reflected_color = textureSample(cube_texture, cube_sampler, reflected).rgb; - return mix(vec4(vec3(0.1) + 0.5 * reflected_color,1.0),fragment_color,1.0-pow(1.0-abs(d),2.0)); + return mix(vec4(vec3(0.05) + 0.2 * reflected_color,1.0),fragment_color,1.0-pow(1.0-abs(d),2.0)); }