mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 20:59:19 +02:00
Some renaming
This commit is contained in:
17
betterRenderer/shaders/ps_shadow_masked.hlsl
Normal file
17
betterRenderer/shaders/ps_shadow_masked.hlsl
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma pack_matrix(column_major)
|
||||
|
||||
sampler diffuse_sampler : register(s0);
|
||||
Texture2D diffuse : register(t0);
|
||||
|
||||
#include "manul/draw_constants_shadow.hlsli"
|
||||
|
||||
#include "manul/alpha_mask.hlsli"
|
||||
|
||||
struct VertexOutput {
|
||||
float2 m_TexCoord : TexCoord;
|
||||
};
|
||||
|
||||
void main(in VertexOutput ps_in) {
|
||||
float4 color = diffuse.Sample(diffuse_sampler, ps_in.m_TexCoord);
|
||||
AlphaMask(color.a);
|
||||
}
|
||||
Reference in New Issue
Block a user