Sprite: Add special case shader for translucent effect
Translucent sprites (opacity < 255) are very common, so using a custom shader instead of the full blown effect one helps a lot, especially on mobile.
This commit is contained in:
parent
a53163660f
commit
3c0a530eba
6 changed files with 58 additions and 1 deletions
|
@ -220,6 +220,7 @@ set(EMBEDDED_INPUT
|
|||
shader/simple.frag
|
||||
shader/simpleColor.frag
|
||||
shader/simpleAlpha.frag
|
||||
shader/simpleAlphaUni.frag
|
||||
shader/flashMap.frag
|
||||
shader/simple.vert
|
||||
shader/simpleColor.vert
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue