CobaltWolf / Bluedog-Design-Bureau

Stockalike parts pack for Kerbal Space Program
https://forum.kerbalspaceprogram.com/index.php?/topic/122020-131mostly-functional-141-bluedog-design-bureau-stockalike-saturn-apollo-and-more-v142-%D0%B0%D1%82%D0%BB%D0%B0%D1%81-1feb2018/
120 stars 144 forks source link

Apollo CM lab white paintswitch shiny #1443

Closed Rodg88 closed 3 months ago

Rodg88 commented 3 months ago

might be TU patch issue

Rodg88 commented 3 months ago

Can't really keep the shader swap without having separate meshes for white and grey/silver - disabling TU compat for RCML to fix

Rodg88 commented 3 months ago

@CobaltWolf if you can add a separate CM mesh to the RCML for the white texture to be applied to, the TU patch can be enabled again. It needs to have a full mesh swap instead of a texture swap as B9PS can't change the shader, so when TU patches apollo to have the PBR shader, it still applies to the white texture variant

CobaltWolf commented 3 months ago

Added the other mesh. It is named "Painted" like the other CM variants

Rodg88 commented 3 months ago

@CobaltWolf looks like the Painted mesh just needs to have a material using the base bluedog_Apollo_CM texture, not bluedog_Apollo_CM_White. Looks like that's how the base CM model is set up too.

seems like there's a quirk where if the default texture of the Painted mesh isn't where it's expecting it to be, it will just break the shader, even though the paint switch module specifies the correct texture later.