Projektdateien hinzufügen.
This commit is contained in:
parent
451b30ca5f
commit
c60ebfcb55
45 changed files with 1306 additions and 0 deletions
9
CityGame/Resources/BlueTint.hlsl
Normal file
9
CityGame/Resources/BlueTint.hlsl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Texture2D inputTexture : register(t0);
|
||||
SamplerState inputSampler : register(s0);
|
||||
|
||||
float4 main(float2 uv : TEXCOORD) : SV_Target
|
||||
{
|
||||
float4 color = inputTexture.Sample(inputSampler, uv);
|
||||
float4 grayscaleColor = float4(dot(color.rgb, float3(0.299, 0.587, 0.114)), dot(color.rgb, float3(0.299, 0.587, 0.114)), dot(color.rgb, float3(0.299, 0.587, 0.114)), color.a);
|
||||
return grayscaleColor;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue