Jump to content

Need to create heat effect


Recommended Posts

That's not displacement. That's displacement + blur. It can be achieved if you know how to modify existing filters with glsl and chains of filter inputs. This is not newbie material, yet. You have to find someone who will make it for you.

I did something like that before, https://codesandbox.io/s/tender-franklin-iycmu , but its doesnt have blur, just lighting +displacement.

If you want to learn that stuff, you really have to learn most of pixi usages first. If you have Adobe Flash experience, or Photoshop layers - that'll help. If you dont know what layers are and how the image is combined... well.. im sorry.

Link to comment
Share on other sites

OK, then you can make it, probably :) The idea is to combine original image with blurred by a mask, and for that you need to make a combined filter. just a PIXI.Filter that has apply() method that requests extra renderTexture , calls blur filter, and then combines two images somehow. 

Code will look like https://github.com/pixijs/pixi-filters/blob/master/filters/drop-shadow/src/DropShadowFilter.js#L90 , but with extra input - mask that you want to use to combine those two. Or maybe mask is a function in glsl. The big demo I mentioned has modified DisplacementFilter that accepts masking, maybe it can help. Post here your progress and I'll be able to help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...