Skip to content

Applying a light BlurFilter to half-transparent shape made it much more transparent #615

Open

Description

@yar3333

See the fiddle: https://jsfiddle.net/yar3333/bqj7fute/

Code:

var stage = new createjs.Stage("canvas");

var obj = new createjs.Shape();
stage.addChild(obj);
obj.graphics
    .beginFill("rgba(128, 128, 128, 0.6)")
    .rect(0, 0, 100, 100)
    .endFill();

var obj2 = obj.clone();
obj2.x = 150;
stage.addChild(obj2);
obj2.filters = [ new createjs.BlurFilter(2, 2) ];
obj2.cache(0, 0, 100, 100);

stage.update();

If you change alpha=0.6 to alpha=0.4 then image become fully invisible.

Activity

  1. added a commit that references this issue on May 15, 2015
  2. yar3333 commented on May 15, 2015

    @yar3333
    ContributorAuthor

    Solution: #617

  3. added a commit that references this issue on Jun 20, 2015
  4. lannymcnie commented on Nov 9, 2015

    @lannymcnie
    Member

    We will review the pull request for the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions