mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Don't project onto TransparentFX layer
This commit is contained in:
parent
a91a83a280
commit
ecc60751f7
Binary file not shown.
@ -481,6 +481,9 @@ namespace ConformalDecals {
|
||||
foreach (var renderer in renderers) {
|
||||
// skip disabled renderers
|
||||
if (renderer.gameObject.activeInHierarchy == false) continue;
|
||||
|
||||
// skip transparentFX layer, which causes issues with Waterfall
|
||||
if (renderer.gameObject.layer == 1) continue;
|
||||
|
||||
// skip blacklisted shaders
|
||||
if (DecalConfig.IsBlacklisted(renderer.material.shader)) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user