mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-08 13:08:29 +02:00
move background to vertex buffer
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
0219c11a73
commit
87ec7cdd39
9 changed files with 68 additions and 46 deletions
|
|
@ -14,7 +14,6 @@ varying vec2 v_texcoord;
|
|||
void main()
|
||||
{
|
||||
// Set fragment color from texture
|
||||
// gl_FragColor = texture2D(texture, v_texcoord);
|
||||
vec4 texColor = texture2D(texture, v_texcoord);
|
||||
if (texColor.a < 0.1) discard; // Optional: Discard fully transparent pixels
|
||||
gl_FragColor = texColor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue