mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 13:36:44 +00:00
Update water_fragment.glsl
This commit is contained in:
parent
1848f7f915
commit
03733a30b0
1 changed files with 2 additions and 2 deletions
|
@ -105,11 +105,11 @@ vec4 circle(vec2 coords, vec2 uv, float adjusted_time)
|
|||
float height = blip(ringfollower);
|
||||
vec4 ret = vec4(normal.x, normal.y, height, height);
|
||||
ret.xyw *= energy;
|
||||
ret.xyz = normalize(ret.xyz);
|
||||
ret.xyz = normalize(ret.x, ret.y, ret.z+0.001);
|
||||
return ret;
|
||||
}
|
||||
|
||||
const float RAIN_RING_TIME_OFFSET = 1/6.0;
|
||||
const float RAIN_RING_TIME_OFFSET = 1.0/6.0;
|
||||
vec4 rain(vec2 uv, float time)
|
||||
{
|
||||
vec2 i_part = floor(uv * RAIN_RIPPLE_GAPS);
|
||||
|
|
Loading…
Reference in a new issue