parent
02dfaf29e8
commit
27c8c36ebe
4 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue