reduce the offset of clouds on the horizon

This commit is contained in:
Isse 2023-04-19 21:01:30 +02:00
parent 9ad83a695c
commit 4b831f884e

View File

@ -60,7 +60,7 @@ vec3 wpos_at(vec2 uv) {
view_space /= view_space.w;
if (buf_depth == 0.0) {
vec3 direction = normalize(view_space.xyz);
return direction.xyz * 524288.0625 + cam_pos.xyz;
return direction.xyz * 524288.0625;
} else {
return view_space.xyz;
}