Moved shaders to new directory
This commit is contained in:
parent
0b3f8340e3
commit
99b226237a
1244 changed files with 0 additions and 0 deletions
10
shaders/hlsl/textoverlay/text.frag
Normal file
10
shaders/hlsl/textoverlay/text.frag
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// Copyright 2020 Google LLC
|
||||
|
||||
Texture2D textureFont : register(t0);
|
||||
SamplerState samplerFont : register(s0);
|
||||
|
||||
float4 main([[vk::location(0)]] float2 inUV : TEXCOORD0) : SV_TARGET
|
||||
{
|
||||
float color = textureFont.Sample(samplerFont, inUV).r;
|
||||
return color.xxxx;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue