projects
/
opengl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rework UI architecture and blendshape animation
[opengl.git]
/
skyboxvert.glsl
diff --git
a/skyboxvert.glsl
b/skyboxvert.glsl
index 4946c73ec28d87c76d3c4eda6e732be9bf2c21df..8b753954160c2739cf5bdd941e4fa0f72a81f71a 100644
(file)
--- a/
skyboxvert.glsl
+++ b/
skyboxvert.glsl
@@
-1,13
+1,13
@@
#version 330
in vec3 pos;
#version 330
in vec3 pos;
-out vec3
texCoord
s;
+out vec3
localPo
s;
uniform mat4 projection;
uniform mat4 view;
void main() {
uniform mat4 projection;
uniform mat4 view;
void main() {
-
texCoord
s = pos;
+
localPo
s = pos;
vec4 fragPos = projection * view * vec4(pos, 1);
gl_Position = fragPos.xyww;
}
vec4 fragPos = projection * view * vec4(pos, 1);
gl_Position = fragPos.xyww;
}