User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16

Thread: Mask object/ shader/ whatever?

  1. #11
    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
    42
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Darkhog View Post
    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.

    Attachment 24469

    //edit: Use mouse to move mask around.
    its easy - replace first "color = maintexture;" in shader to "color = 0;"
    I write shaders in clickteam editor.

  2. #12
    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 mihailsh View Post
    its easy - replace first "color = maintexture;" in shader to "color = 0;"
    I write shaders in clickteam editor.
    OK, will try that and I meant shader editor like this:



    Maybe such thing is planned for CF3, but it certainly isn't in CF2.5.

    //edit: Thanks to you, I made it. Your solution worked. I've also made a reverse effect where the mask basically cuts the hole into layer.

  3. #13
    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)
    Lukaaash's Avatar
    Join Date
    Oct 2016
    Posts
    16
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mihailsh View Post
    Attachment 24450

    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.
    Hello. On Windows works as charm. But is it possible to get it work on android extension, too?

    PS: Tried it but shader didn't do anything...

  4. #14
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    @Lukaaash : The Android and iOS exporters don't currently support shaders.
    @Darkhog : Can you please post the reverse solution (where a defined mask area "reveals" the object it overlaps)? I am trying to do something where multiple objects appear to rise out of the ground and I want to hide the part of them below a specific Y value.

  5. #15
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    Wizard1's Avatar
    Join Date
    Apr 2019
    Location
    Russia, Penza
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you please convert this shader to Direct3D 11?

  6. #16
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    CruddyBuddy's Avatar
    Join Date
    May 2010
    Posts
    173
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Wizard1 View Post
    Can you please convert this shader to Direct3D 11?
    Did you ever find a converted version of this? I am trying to find a DX11 version as well.

Page 2 of 2 FirstFirst 1 2

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
  •