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 61dc878 commit 3861118
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,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 3861118

Please sign in to comment.