This website requires JavaScript.
Explore
Help
Register
Sign in
mirrors
/
mkxp-z
Watch
1
Star
0
Fork
You've already forked mkxp-z
0
mirror of
https://github.com/mkxp-z/mkxp-z.git
synced
2025-06-07 17:55:52 +02:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
286270b51e
mkxp-z
/
shader
/
flatColor.frag
8 lines
66 B
GLSL
Raw
Normal View
History
Unescape
Escape
Graphics: Optimize Viewport effect rendering Using the kitchen sink plane shader for viewport effects, even if only a small part of them are active, incurs great performance loss on mobile, so split the rendering into multiple optional passes which additionally use the blending hardware for faster mixing (lerping). Also, don't mirror the PingPong textures if the viewport effect covers the entire screen area anyway.
2014-12-23 18:56:00 +01:00
uniform
lowp
vec4
color
;
Revert to using GL compatibility contexts (and GLES2)
2020-11-16 21:56:19 -05:00
void
main
(
)
{
gl_FragColor
=
color
;
}
Reference in a new issue
Copy permalink