mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Fix material creation
This commit is contained in:
parent
d04d5120f4
commit
4c10f0ecd7
Binary file not shown.
@ -25,7 +25,7 @@ namespace ConformalDecals.MaterialModifiers {
|
|||||||
_decalMaterial = new Material(_shader);
|
_decalMaterial = new Material(_shader);
|
||||||
UpdateMaterial(_decalMaterial);
|
UpdateMaterial(_decalMaterial);
|
||||||
|
|
||||||
_previewMaterial.SetInt(DecalPropertyIDs._Cull, (int) CullMode.Off);
|
_decalMaterial.SetInt(DecalPropertyIDs._Cull, (int) CullMode.Off);
|
||||||
}
|
}
|
||||||
|
|
||||||
return _decalMaterial;
|
return _decalMaterial;
|
||||||
|
Loading…
Reference in New Issue
Block a user