Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Sommersemester 2015
Cpp
Deth Buff Arr
Commits
cd73dde1
Commit
cd73dde1
authored
Sep 21, 2015
by
Georg Schaefer
Browse files
add missing model matrix in staticmesh vertex shader
parent
b04771c4
Changes
1
Show whitespace changes
Inline
Side-by-side
assets/shader/staticmesh.vs
View file @
cd73dde1
...
...
@@ -9,8 +9,9 @@ out vec2 texcoord_;
uniform
mat4
projection
;
uniform
mat4
view
;
uniform
mat4
model
;
void
main
()
{
gl_Position
=
projection
*
view
*
vec4
(
_position
,
1
.
f
);
gl_Position
=
projection
*
view
*
model
*
vec4
(
_position
,
1
.
f
);
texcoord_
=
_texcoord
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment