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

restock launch clamps don't render correctly in editor mode #39

Open
JonnyOThan opened this issue Jul 22, 2023 · 1 comment
Open

restock launch clamps don't render correctly in editor mode #39

JonnyOThan opened this issue Jul 22, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@JonnyOThan
Copy link
Collaborator

This occurred when I replaced all the part shaders with the ones from parttools. Some details here: https://forum.kerbalspaceprogram.com/topic/182679-1123-restock-revamping-ksps-art-feb-25/?do=findComment&comment=4300920

Can anyone take a guess as to why my launch clamps render on the launchpad but not in the VAB? There was an old issue on Git from someone on OSX using OpenGL 3.3, I'm on Win 10 x64 running KSP 1.12.4 and I'm seeing the trusses on the pad.

In order to fix the "HDR transparency" issue, TUFX has to replace all the stock shaders with versions that clamp the alpha channel. Unfortunately there are also other slight differences in the shaders that result in artifacts like this. I'd bet the replacement doesn't support instancing...but I have no idea why that would only happen in the VAB unless restock doesn't use the instancing shader in the flight scene.

@JonnyOThan JonnyOThan added the bug Something isn't working label Jul 22, 2023
@JonnyOThan
Copy link
Collaborator Author

Possible fix?

you can also patch the launch clamp config to do instancingEnabled = false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant