mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-27 09:00:46 +12:00
GLSL shader gen: Add alpha test (...half of it I guess)
This commit is contained in:
parent
798c651a17
commit
842943fa4c
7 changed files with 108 additions and 38 deletions
include/PICA
|
@ -345,6 +345,17 @@ namespace PICA {
|
|||
GeometryPrimitive = 3,
|
||||
};
|
||||
|
||||
enum class CompareFunction : u32 {
|
||||
Never = 0,
|
||||
Always = 1,
|
||||
Equal = 2,
|
||||
NotEqual = 3,
|
||||
Less = 4,
|
||||
LessOrEqual = 5,
|
||||
Greater = 6,
|
||||
GreaterOrEqual = 7,
|
||||
};
|
||||
|
||||
struct TexEnvConfig {
|
||||
enum class Source : u8 {
|
||||
PrimaryColor = 0x0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue