Skip to content

Commit

Permalink
[Vk] Fix texture baking upside down
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Dec 20, 2024
1 parent 5fbf89d commit 4e71dc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
@end
@else
outVs_Position.xy = inVs_uv@value( hlms_uv_baking ).xy * 2.0f - 1.0f + passBuf.pixelOffset2x.xy;
@property( !hlms_forwardplus_flipY || syntax != glsl )
@property( !hlms_forwardplus_flipY || ( syntax != glsl && syntax != glslvk ) )
outVs_Position.y = -outVs_Position.y;
@end
outVs_Position.zw = float2( 0.0f, 1.0f );
Expand Down

0 comments on commit 4e71dc7

Please sign in to comment.