mirror of
https://github.com/Merlin1809/Eclipse-Shader.git
synced 2026-10-10 04:53:07 +08:00
Tiny fix
This commit is contained in:
@@ -810,7 +810,8 @@ void main() {
|
||||
|
||||
// bloomy rain effect
|
||||
#ifdef OVERWORLD_SHADER
|
||||
float rainDrops = clamp(texture2D(colortex9,texcoord).a, 0.0,1.0)*(1.0-TranslucentShader.a);
|
||||
float rainDrops = clamp(texture2D(colortex9,texcoord).a, 0.0,1.0);
|
||||
if(hand) rainDrops *= (1.0-TranslucentShader.a);
|
||||
if(rainDrops > 0.0) bloomyFogMult *= clamp(1.0 - pow(rainDrops*5.0,2),0.0,1.0);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user