Open kurgut opened 6 months ago
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.
https://github.com/MOARdV/AvionicsSystems/assets/39562611/357052fb-0862-4eb0-be38-e1a303d0c796
@JonnyOThan mentioned that it could be because MAS uses Transparent shader, whereas JSILabel uses AlphaTest. https://github.com/MOARdV/AvionicsSystems/blob/c9a8777e7a14d19667d93b17bf3fe2e2430bf68e/Assets/Shaders/TextMesh.shader#L48 https://github.com/JonnyOThan/RasterPropMonitor/blob/958720c1d9ad2145cacf5f5098d8984682f5e00e/Shaders/Assets/Shaders/RPM-JSILabel.shader#L28
Thank you
Have you checked whether rpm has this issue? Would be a useful datapoint in confirming or contradicting my theory.
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.
https://github.com/MOARdV/AvionicsSystems/assets/39562611/357052fb-0862-4eb0-be38-e1a303d0c796
@JonnyOThan mentioned that it could be because MAS uses Transparent shader, whereas JSILabel uses AlphaTest. https://github.com/MOARdV/AvionicsSystems/blob/c9a8777e7a14d19667d93b17bf3fe2e2430bf68e/Assets/Shaders/TextMesh.shader#L48 https://github.com/JonnyOThan/RasterPropMonitor/blob/958720c1d9ad2145cacf5f5098d8984682f5e00e/Shaders/Assets/Shaders/RPM-JSILabel.shader#L28
Thank you