Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
vertex.glsl
a guest
Jul 21st, 2016
94
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
News May2 24
Email | 10 min ago | 26.86 KB
Analog Clock rev_03
Arduino | 30 min ago | 1.81 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 32 min ago | 0.39 KB
OLED Showcase rev_02
Arduino | 34 min ago | 2.00 KB
OLED Display rev_01
Arduino | 36 min ago | 2.00 KB
udp.py
Python | 46 min ago | 3.12 KB
syn.py
Python | 46 min ago | 4.47 KB
mixamp.py
Python | 47 min ago | 9.53 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!