13 lines
197 B
HLSL
13 lines
197 B
HLSL
#include "common.hlsli"
|
|
|
|
// Pixel
|
|
float4 main(p_TL I) : SV_Target
|
|
{
|
|
float4 r = s_base.Sample(smp_base, I.Tex0);
|
|
|
|
r.rgb = I.Color.xyz;
|
|
r.a *= I.Color.a;
|
|
|
|
return r;
|
|
}
|
|
|