Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jirinrin
Copy link

@Jirinrin Jirinrin commented Feb 27, 2023

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