Files
WickedEngine/WickedEngine/shadowPS_alphatest.hlsl
2017-05-21 23:42:29 +02:00

13 lines
237 B
HLSL

#include "globals.hlsli"
#include "objectHF.hlsli"
struct VertextoPixel
{
float4 pos : SV_POSITION;
float2 tex : TEXCOORD0;
};
void main(VertextoPixel PSIn)
{
ALPHATEST(xBaseColorMap.Sample(sampler_linear_wrap, PSIn.tex).a);
}