User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: Mask object/ shader/ whatever?

  1. #1
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Darkhog's Avatar
    Join Date
    Jan 2009
    Location
    /dev/null
    Posts
    417
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Mask object/ shader/ whatever?

    Here's effect I'm looking for:



    Preferably with the effect being applied to the entire layer and with "mask" being an object that can be moved. Do you know of any object or shader like that?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    I think that should be doable but what to do with the "negative" part of the cropped area?

    I mean all that's white in your picture, the "covered" part of the layer (the mask picture showing what's below)
    should that be white, should that be a texture of your choice, a color..?

    Or you mean to simply apply this to the "topmost" layer, and the mask would cut a (image shaped) hole to see layers below?

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    mihailsh's Avatar
    Join Date
    Jan 2014
    Location
    Kaliningrad
    Posts
    43
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    shapemask.zip

    Hm. Somethink like that;

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    mihailsh's Avatar
    Join Date
    Jan 2014
    Location
    Kaliningrad
    Posts
    43
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    or this

    shapemask2.zip

  5. #5
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Darkhog's Avatar
    Join Date
    Jan 2009
    Location
    /dev/null
    Posts
    417
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by schrodinger View Post
    I think that should be doable but what to do with the "negative" part of the cropped area?

    I mean all that's white in your picture, the "covered" part of the layer (the mask picture showing what's below)
    should that be white, should that be a texture of your choice, a color..?

    Or you mean to simply apply this to the "topmost" layer, and the mask would cut a (image shaped) hole to see layers below?
    No, no. The red and green objects are separate actives that are cut into shape by the mask. The white portion is "transparent" part of the layer. Obviously the opposite, where it cuts a hole in the layer would be good as well. @mihailsh I'll check out these, thank you.

    //edit: the first one is almost what I need (shapemask.zip), however it has two issues: It cuts (or rather fills outside of the object with specific color) all the way through, which makes it useless to me, as I want only to cut through the layer the object is on without affecting upper/lower layers (think spray paint stencil/template and you'll be in the right ballpark) and the "filled" area is only as big as active that has mask, which, again, makes it useless to me as to use it effectively, I'd need active the size that is double of main game resolution (in my case it's 640x480, but think of people who'd like something similar and have games that are running at 1080p or bigger!), which again, makes it useless to me.

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    mihailsh's Avatar
    Join Date
    Jan 2014
    Location
    Kaliningrad
    Posts
    43
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    i will create shader for layer. with any size mask.

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    mihailsh's Avatar
    Join Date
    Jan 2014
    Location
    Kaliningrad
    Posts
    43
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    oh. i check. we can put effect on layer. a have some idea about this shader. I post it later.

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    mihailsh's Avatar
    Join Date
    Jan 2014
    Location
    Kaliningrad
    Posts
    43
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    shapemask2.zip

    1. Shader on layer.
    2. mask,mask coordinates and size must be aded to shader parameters.
    3. there a some wrong coordinates when editing in clickteam. Clickteam affect by shader all layer at editing. But normal at run, check it.

  9. #9
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Darkhog's Avatar
    Join Date
    Jan 2009
    Location
    /dev/null
    Posts
    417
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Still doesn't work as it should. See the attached file. The goal is to hide all of the stuff in the layer except of what is under the mask. Which it doesn't fully do, and I'm not talking about just the editor rendering. Use the effect files that you gave in your previous ZIP file. We're almost there, but still not quite.

    mask.mfa

    //edit: Use mouse to move mask around.

  10. #10
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Darkhog's Avatar
    Join Date
    Jan 2009
    Location
    /dev/null
    Posts
    417
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Were you able to make it work?

    I seriously wish CF had a visual shader editor like one in UE4 or Unity 2018 so I wouldn't have to beg for shaders.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Simple Mask shader "color" format help
    By mobichan in forum Fusion 2.5
    Replies: 2
    Last Post: 10th December 2016, 08:13 PM
  2. Need help creating a "sharpen mask" shader.
    By J3sseM in forum Fusion 2.5
    Replies: 7
    Last Post: 23rd April 2016, 04:37 PM
  3. Replies: 4
    Last Post: 17th February 2016, 10:46 AM
  4. Does "sharpen mask" shader exist?
    By J3sseM in forum Fusion 2.5
    Replies: 2
    Last Post: 22nd June 2015, 12:42 PM
  5. Does blur mask shader exist?
    By J3sseM in forum Fusion 2.5
    Replies: 3
    Last Post: 11th June 2015, 08:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •