This commit is contained in:
Sascha Willems 2025-05-31 16:33:19 +02:00
parent aca9771866
commit 5833d766a7
5 changed files with 5 additions and 5 deletions

View file

@ -37,7 +37,7 @@ VSOutput vertexMain(VSInput input)
}
[shader("fragment")]
float4 fragmentMain(VSOutput input) : SV_TARGET
float4 fragmentMain(VSOutput input)
{
return textures[NonUniformResourceIndex(input.TextureIndex)].Sample(input.UV);
}