unitycoder / UnityMobilePaint

Public repository for MobilePaint issues & requests
https://www.assetstore.unity3d.com/en/#!/content/19803?aid=1101lGti
MIT License
51 stars 16 forks source link

how to change mask texture at runtime and paint in changed texture? #34

Open nareshgeniusinfotech opened 6 years ago

nareshgeniusinfotech commented 6 years ago

how to change mask texture at run time and paint in changed texture? currently I use CanvasWithMask material, when i change mast texture at runtime then got issue in painting and display recent texture canvas(RGBA)

unitycoder commented 6 years ago

did you try scene_MobilePaint_SetNewLockingMask.scene? it assigns new locking mask texture with "mobilePaint.SetMaskImage(texture)"