mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Made figure placement correct with warping
This commit is contained in:
parent
9e5c0ce601
commit
68e77f43f8
@ -42,6 +42,8 @@ void main() {
|
||||
combined_mat *
|
||||
vec4(pos, 1)).xyz;
|
||||
|
||||
f_pos.z -= 25.0 * pow(distance(focus_pos.xy, f_pos.xy) / view_distance.x, 20.0);
|
||||
|
||||
f_col = vec3((uvec3(v_col) >> uvec3(0, 8, 16)) & uvec3(0xFFu)) / 255.0;
|
||||
|
||||
f_ao = float(v_ao_bone & 0x3u) / 4.0;
|
||||
|
Loading…
Reference in New Issue
Block a user