Open Brushwing opened 3 years ago
For this issue it seems to be that the transparent flag shader doesn't write to the prepass depth buffer so scatterer cannot "see" it. It also means these flags don't cast or receive shadows.
I can't think of a simple way to fix it apart from re-writing a flag shader, or trying to add a second material to flags which only writes to depth buffer.
Both of these solutions don't inspire me and I consider this a low-severity issue, therefore I won't bother fixing it for now. We'll see later if I think of something.
aw man
KSP: 1.12.2 Problem: Flag parts becoming translucent/disappearing when in front of ocean and surface features
Mods installed: Stock + Making History + Breaking Ground DLC Scatterer 0.0772
Reproduction steps: 1. Attach any flag in such a way that there's no parts blocking the area behind it (e.g as structural parts with the panel variants)
This is the default Aeris 3A with blank fully transparent flag files on it. The flag on the tail looks normal when viewed over land. Log: https://drive.google.com/file/d/15GWuMkFH8T_8X2IIth3y2rIkrb4Eedux/view?usp=sharing
This is how it looks when viewed while covering distant objects like mountains.
Over the ocean, the flag completely disappears. Only the parts that overlap with other objects are visible.
I hope this shows how the flag disappears over certain bodies better.
This issue isn't a problem for flags that have no transparent parts in their PNGs, such as the Squad flag textures.
Player.log: https://drive.google.com/file/d/15GWuMkFH8T_8X2IIth3y2rIkrb4Eedux/view?usp=sharing
Sorry about the long post, I hope this shows the issue well. Thanks in advance!