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
bf52c2abf8
stk-code_catmod
/
data
/
shaders
/
coloredquad.frag
8 lines
94 B
GLSL
Raw
Normal View
History
Unescape
Escape
OGL32CTX: Port draw2DRectangle too git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 17:10:56 -05:00
#version 130
OGL32CTX: Use correct type in coloredquad.frag Spotted by arb debug output too. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 13:54:40 -05:00
uniform
ivec4
color
;
OGL32CTX: Port draw2DRectangle too git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-04 17:10:56 -05:00
void
main
(
)
{
Fix colored rectangle color. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15067 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 19:11:59 -05:00
gl_FragColor
=
vec4
(
color
)
/
255.
;
}
Reference in New Issue
Copy Permalink