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
395a6a5ca9
commit
1da77a631e
|
@ -1,3 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c8c2ebf552538f84512d4bc7018c8b294750317bc2afbc7cd556448bc6067c34
|
||||
size 35328
|
||||
oid sha256:6133035be1006b2606dbec3642df170f4cb862af54eba8a74cc780e6b3d659d5
|
||||
size 34816
|
||||
|
|
|
@ -25,7 +25,7 @@ namespace ConformalDecals.MaterialModifiers {
|
|||
_decalMaterial = new Material(_shader);
|
||||
UpdateMaterial(_decalMaterial);
|
||||
|
||||
_previewMaterial.SetInt(DecalPropertyIDs._Cull, (int) CullMode.Off);
|
||||
_decalMaterial.SetInt(DecalPropertyIDs._Cull, (int) CullMode.Off);
|
||||
}
|
||||
|
||||
return _decalMaterial;
|
||||
|
|
Loading…
Reference in New Issue
Block a user