This website requires JavaScript.
Explore
Help
Sign In
ilikecats
/
stk-code_catmod
Watch
1
Star
1
Fork
0
You've already forked stk-code_catmod
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
fb6649eaad
stk-code_catmod
/
data
/
shaders
/
texturedquad.frag
9 lines
107 B
GLSL
Raw
Normal View
History
Unescape
Escape
OGL32CTX: Implement a draw2DImage function using shaders. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 12:12:30 -05:00
#version 130
texture2D is deprecated, use texture instead
2014-01-19 12:53:35 -05:00
uniform
sampler2D
tex
;
OGL32CTX: Implement a draw2DImage function using shaders. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 12:12:30 -05:00
Use a passthrough shader for some fullscreen effect. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15043 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 09:50:16 -05:00
in
vec2
uv
;
OGL32CTX: Implement a draw2DImage function using shaders. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 12:12:30 -05:00
void
main
(
)
{
texture2D is deprecated, use texture instead
2014-01-19 12:53:35 -05:00
gl_FragColor
=
texture
(
tex
,
uv
)
;
OGL32CTX: Implement a draw2DImage function using shaders. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 12:12:30 -05:00
}
Reference in New Issue
Copy Permalink