mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 22:09:19 +02:00
Some renaming
This commit is contained in:
8
betterRenderer/shaders/manul/alpha_mask.hlsli
Normal file
8
betterRenderer/shaders/manul/alpha_mask.hlsli
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef ALPHA_MASK_HLSLI
|
||||
#define ALPHA_MASK_HLSLI
|
||||
|
||||
void AlphaMask(in float alpha) {
|
||||
if(g_DrawConstants.m_AlphaThreshold >= 0. ? (alpha < g_DrawConstants.m_AlphaThreshold) : (alpha >= -g_DrawConstants.m_AlphaThreshold)) discard;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user