Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Gradient Transparency Mask

Explorer ,
May 19, 2017 May 19, 2017

Hey guys!

Is it still possible to use a mask with a transparency gradient? When publishing for Flash, this could be done with a workaround where you would cache the mask with the gradient as a bitmap. I have not found a way to do this when publishing for HTML5 Canvas.

How can you achieve a mask with smooth edges? Help highly appreciated!

Thank you in advance!

4.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 19, 2017 May 19, 2017

I hadn't heard of the cache bitmap approach. As far as I knew transparent masks would work if you set the mask using AS3.

For CreateJS, read this, it may be on the right lines:

EaselJS v0.8.2 API Documentation : AlphaMaskFilter

Translate
LEGEND ,
May 19, 2017 May 19, 2017

I hadn't heard of the cache bitmap approach. As far as I knew transparent masks would work if you set the mask using AS3.

For CreateJS, read this, it may be on the right lines:

EaselJS v0.8.2 API Documentation : AlphaMaskFilter

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 22, 2017 May 22, 2017
LATEST

Thanks! 🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines