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

TEXT_LABELS not rendering when behind transparent mesh #373

Open
kurgut opened this issue Feb 29, 2024 · 1 comment
Open

TEXT_LABELS not rendering when behind transparent mesh #373

kurgut opened this issue Feb 29, 2024 · 1 comment

Comments

@kurgut
Copy link

kurgut commented Feb 29, 2024

As you can see in the video below, I added a glass plane on the DSKY, in front of the flags indicators, and this causes the text labels to not be visible, depending on the angle. The glass mesh uses KSP/Alpha/Translucent Specular.

MAS.text.rendering.bug.mp4

@JonnyOThan mentioned that it could be because MAS uses Transparent shader, whereas JSILabel uses AlphaTest.

Tags {"Queue"="Transparent"}

https://github.com/JonnyOThan/RasterPropMonitor/blob/958720c1d9ad2145cacf5f5098d8984682f5e00e/Shaders/Assets/Shaders/RPM-JSILabel.shader#L28

Thank you

@JonnyOThan
Copy link
Collaborator

Have you checked whether rpm has this issue? Would be a useful datapoint in confirming or contradicting my theory.

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

No branches or pull requests

2 participants