Moved shaders to new directory

This commit is contained in:
Sascha Willems 2023-05-09 21:03:02 +02:00
parent 0b3f8340e3
commit 99b226237a
1244 changed files with 0 additions and 0 deletions

View file

@ -1,14 +0,0 @@
// Copyright 2020 Google LLC
struct VSOutput
{
[[vk::location(0)]] float4 Pos : POSITION0;
[[vk::location(1)]] float3 LightPos : POSITION1;
};
float main(VSOutput input) : SV_TARGET
{
// Store distance to light as 32 bit float value
float3 lightVec = input.Pos.xyz - input.LightPos;
return length(lightVec);
}