The Daily Click ::. Forums ::. Klik Coding Help ::. Subtact ink effect on any layer effect
 

Post Reply  Post Oekaki 
 

Posted By Message

Fifth

Quadruped

Registered
  07/05/2003
Points
  5815

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
7th August, 2014 at 07/08/2014 02:00:02 -

I think I've encountered a sort of very specific bug that I'm not sure how to get around.

If you make an object - any sort of object - that has the ink effect "subtract", and then set the layer that it's on to any ink effect (HWA needs to be on for this, of course), then the object will show up as a single blank color, ignoring anything else about the object beyond transparency. This ONLY happens with the "subtract" effect, and ONLY when the layer it's on has a non-normal effect applied to it.

Observe...

Image

Notice on the bottom how the gradient becomes nothing more than a hole to the layer below?

I'm fairly new to using layers for effects, so I'm kinda stumped here. Does anyone know why this would be happening, or have a solution or workaround to it?

 
Go Moon!

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49567

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
8th August, 2014 at 08/08/2014 02:29:55 -

I was able to reproduce this.
I don't have a solution unfortunately.

You should prolly report this issue on the Clickteam bug tracker.

http://bugbox.clickteam.com/

 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
8th August, 2014 at 08/08/2014 12:07:10 -

Works fine for me in MMF2, so I guess it's a Fusion 2.5 thing...

 
n/a

Fifth

Quadruped

Registered
  07/05/2003
Points
  5815

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
9th August, 2014 at 09/08/2014 00:05:51 -

Nah, I've got 2.0 Developer.

Very curious...

 
Go Moon!

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6946

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
9th August, 2014 at 09/08/2014 09:47:38 -

Could this have anything to do with video card and/or drivers?

 
www.hayovanreek.nl

Alonso Martin



Registered
  29/12/2010
Points
  294
9th August, 2014 at 09/08/2014 15:27:17 -

It looks like the shader stops using the gradient information as an alpha channel, and is simply applying 0.0 throughout. I don't know why there'd be a cutout; maybe you found a specific problem with the way MMF's layer shaders interact with objects shaders? Or maybe it's simply something in the code of that specific shader effect.

You could try finding another shader that does the same as the subtract shader and see if that does what you want. Or maybe you could ask someone that knows HLSL? If you post it on CT's forum, I'm sure someone will help out.

Edited by Alonso Martin

 
www.hfalicia.com
www.alonsomartin.mx
   

Post Reply



 



Advertisement

Worth A Click