mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed UI shader
Former-commit-id: 12851d800a5435d25573e1deadb10b8103d40ac7
This commit is contained in:
parent
7fd3854093
commit
8c4c14f749
@ -26,7 +26,8 @@ void main() {
|
||||
// In-game element
|
||||
gl_Position =
|
||||
proj_mat *
|
||||
(view_mat * w_pos + vec4(v_pos, 0.0, 0.0));
|
||||
view_mat *
|
||||
(w_pos + vec4(v_pos, 40.0, 1.0));
|
||||
} else {
|
||||
// Interface element
|
||||
gl_Position = vec4(v_pos, 0.0, 1.0);
|
||||
|
Loading…
Reference in New Issue
Block a user