From bffc615a494dbc450d78a38ce54a796f592f02da Mon Sep 17 00:00:00 2001 From: samuncle Date: Wed, 21 May 2014 02:36:48 +0200 Subject: [PATCH] Tweak the scattering value to reduce the effect --- data/shaders/grass_pass2.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/shaders/grass_pass2.frag b/data/shaders/grass_pass2.frag index ef1da358a..0ad58609a 100644 --- a/data/shaders/grass_pass2.frag +++ b/data/shaders/grass_pass2.frag @@ -29,6 +29,6 @@ void main(void) vec4 color = texture(Albedo, uv); if (color.a < 0.5) discard; - vec3 LightFactor = scattering + getLightFactor(1.); + vec3 LightFactor = (scattering * 0.3) + getLightFactor(1.); FragColor = vec4(color.xyz * LightFactor, 1.); }