Skip to content

Bugfix: gap 'behind' the logo when using white lettering#79

Open
Jirinrin wants to merge 1 commit into
masterfrom
bugfix/white-lettering-gap
Open

Bugfix: gap 'behind' the logo when using white lettering#79
Jirinrin wants to merge 1 commit into
masterfrom
bugfix/white-lettering-gap

Conversation

@Jirinrin

@Jirinrin Jirinrin commented Feb 27, 2023

Copy link
Copy Markdown

From:
GIF 27-02-2023 14-20-30

To:
GIF 24-02-2023 17-51-41
(oops this gif was made with the lighting from the fragment shader turned off)

At first I thought the issue with the black gap had to do with the Z position of the white plane behind the logo, but turns out it simply had a resolution of '1' which made it not flexible enough for the vertex shader to warp it, leaving some gaps at times!
So changed the point array for that quad to one for a 5x5 rectangle grid, and this fixed it.

(by the way it still gets cut off at the sides in some cases, the shader code doesn't take into account the ratio of the container properly yet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant