mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 22:25:41 +12:00
[PICA] Fix shader on Nvidia
This commit is contained in:
parent
96a2dc18b1
commit
2fe65a58a1
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ const char* fragmentShader = R"(
|
|||
float alpha = fragColour.a;
|
||||
|
||||
switch (func) {
|
||||
case 0: discard; break; // Never pass alpha test
|
||||
case 0: discard; // Never pass alpha test
|
||||
case 1: break; // Always pass alpha test
|
||||
case 2: // Pass if equal
|
||||
if (alpha != reference)
|
||||
|
|
Loading…
Add table
Reference in a new issue