9 lines
226 B
HLSL
9 lines
226 B
HLSL
|
Texture2D diffTexture;
|
||
|
SamplerState SampleType;
|
||
|
|
||
|
float4 main(float4 pos : SV_POSITION, float2 texcoord : TEXCOORD) : SV_TARGET
|
||
|
{
|
||
|
float4 textureColor = diffTexture.Sample(SampleType, texcoord);
|
||
|
|
||
|
return textureColor;
|
||
|
}
|