blob: d7078521eeb4ba62bf7ff4105033e15323638b02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
float4 Color;
SamplerState LinearSampler : register(s0);
Texture2D Texture : register(t0);
struct Values
{
float4 Position : SV_Position;
float4 Color : COLOR0;
float2 TexCoord : TEXCOORD0;
};
float4 main(in Values inputValues) : SV_Target
{
return Color * inputValues.Color * Texture.Sample(LinearSampler, inputValues.TexCoord);
}
|