Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
vertex.glsl
a guest
Jul 21st, 2016
208
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
OpenGL Shading
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
// vertex.glsl
#version 400
in
vec3
vp
;
out
vec4
texcoord
;
void
main
(
)
{
gl_Position
=
vec4
(
vp
,
1.0
)
;
texcoord
=
(
vec4
(
vp
,
1.0
)
+
1.0
)
/
2.0
;
texcoord
.
y
=
1.0
-
texcoord
.
y
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
34 min ago | 9.72 KB
Ironforge Setup Script
Bash | 1 hour ago | 5.88 KB
Untitled
3 hours ago | 7.55 KB
Untitled
5 hours ago | 16.16 KB
Untitled
6 hours ago | 8.98 KB
Untitled
7 hours ago | 27.42 KB
Untitled
8 hours ago | 15.07 KB
Untitled
9 hours ago | 26.38 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!