mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-27 02:32:39 +08:00
re-add physics mod ocean support. tweak refraction strength falloff with distance
This commit is contained in:
@ -190,7 +190,7 @@ vec3 doRefractionEffect( inout vec2 texcoord, vec2 normal, float linearDistance,
|
||||
// make the tangent space normals match the directions of the texcoord UV, this greatly improves the refraction effect.
|
||||
vec2 UVNormal = vec2(normal.x,-normal.y);
|
||||
|
||||
float refractionMult = 0.3 / (1.0 + linearDistance);
|
||||
float refractionMult = 0.3 / (1.0 + linearDistance*0.5);
|
||||
float diffractionMult = 0.035;
|
||||
float smudgeMult = 1.0;
|
||||
|
||||
|
Reference in New Issue
Block a user