Better normal map handling for parts with no normals

This commit is contained in:
2020-06-11 14:15:37 -07:00
parent b24a2c1bbe
commit 3ab1414a19
4 changed files with 24 additions and 16 deletions

View File

@ -250,6 +250,10 @@ namespace ConformalDecals {
UpdateMaterials();
if (HighLogic.LoadedSceneIsEditor) {
UpdateTweakables();
}
if (HighLogic.LoadedSceneIsGame) {
UpdateScale();
}
@ -278,7 +282,7 @@ namespace ConformalDecals {
UpdateTweakables();
}
materialProperties.SetRenderQueue(DecalQueue);
materialProperties.RenderQueue = DecalQueue;
UpdateMaterials();