Update shaders

Fixes #1177
This commit is contained in:
Sascha Willems 2025-01-17 13:49:42 +01:00
parent 02dfaf29e8
commit 27c8c36ebe
4 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ VSOutput main([[vk::location(0)]] float3 Pos : POSITION0)
{
VSOutput output = (VSOutput)0;
output.UVW = Pos;
output.UVW.yz *= -1.0;
output.UVW.xy *= -1.0;
// Remove translation from view matrix
float4x4 viewMat = ubo.model;
viewMat[0][3] = 0.0;