0 Favourites

What blend mode can give me that effect?

  • I really need that effetct in my game:

    https://onedrive.live.com/redir?resid=3 ... hoto%2cjpg

    But I couldn't achieve this.. with the "overlay" effect it got close, but is invisible in black backgrounds...

    Can someone help me? <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused">

  • I would think that you could just set the z order of the white box to a lower number than the gradient box, then set the opacity of the gradient box to lower than 100 (say, 70). I'm not sure a blend mode is required.

  • I would think that you could just set the z order of the white box to a lower number than the gradient box, then set the opacity of the gradient box to lower than 100 (say, 70). I'm not sure a blend mode is required.

    I can't do this, 'cause the gradient is the background of the level. It need to be as colorful as it can be.

  • This might be possible with one of the effects, like Multiply or Overlay. It's the same stuff Photoshop uses, so this list can be handy: http://www.myphotocentral.com/wp-conten ... -modes.jpg

  • This might be possible with one of the effects, like Multiply or Overlay. It's the same stuff Photoshop uses, so this list can be handy: http://www.myphotocentral.com/wp-conten ... -modes.jpg

    Hehe thank you for the help, but, as I said "with the "overlay" effect it got close, but is invisible in black backgrounds". <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    the effect must work like the image that I attached.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Try blend mode additive.

  • Try blend mode additive.

    Probably there is no blend mode in C2 to achieve the effect.. in coreldraw there is the lightness blend mode, that do exactly what I need.

    So.. I'm looking for, maybe, some workaround.

  • It might be beneficial to request this effect in the effects forum.

    My other idea is moving the layer with your player behind the background layer and using the opacity to get the effect (just thinking about the example you posted). -Or you could even add a layer between the player and whatever platforms you have (I'm assuming this is a platformer but I realize you didn't specify that) and get the positioning and parallax synchronized and adjust the opacity of that instance, specifically, that way you maintain that vibrant color.

    You may need to move other layers/objects around too to get things looking right but it could be as simple as that.

  • > Try blend mode additive.

    >

    Probably there is no blend mode in C2 to achieve the effect.. in coreldraw there is the lightness blend mode, that do exactly what I need.

    So.. I'm looking for, maybe, some workaround.

    Look in parameters above effects.

    Probably.

  • From what I found here:

    http://www.zetaprints.com/help/coreldra ... perations/

    The "lightness" blend keeps the hue and saturation of the back and keeps the lightness of the front.

    The "luminosity" effect in c2 matches that description, but doesn't seem to give the same results. Perhaps it's a bug in it somehow since a fair of math is involved.

    The basic logic is to convert the back and front from rgb to hsl, then take the hue and saturation from the back and the lightness from the front to make a new hsl, finally that is converted back into rgb.

    That's the logic needed to make an effect, or the info needed to debug the luminosity effect if someone is curious and has the time.

  • From what I found here:

    http://www.zetaprints.com/help/coreldra ... perations/

    The "lightness" blend keeps the hue and saturation of the back and keeps the lightness of the front.

    The "luminosity" effect in c2 matches that description, but doesn't seem to give the same results. Perhaps it's a bug in it somehow since a fair of math is involved.

    The basic logic is to convert the back and front from rgb to hsl, then take the hue and saturation from the back and the lightness from the front to make a new hsl, finally that is converted back into rgb.

    That's the logic needed to make an effect, or the info needed to debug the luminosity effect if someone is curious and has the time.

    Well... so there is no way to achieve what I want in C2? :\

  • Zathan

    An effect can do it. I'm just saying there is an existing effect that is supposed to do it, but it appears to be bugged.

  • Zathan

    An effect can do it. I'm just saying there is an existing effect that is supposed to do it, but it appears to be bugged.

    Ah, ok! sorry hehe

    @Ashley,

    sorry for bother you, but can you help me here? Seems like some effects aren't working properly.. but I don't know exactly if it's a bug or not, so I'm not posting anything in the bugs section yet.

    And I have done another test now too, and I think there is another possible bug with effects... I don't know if it's made to be like that, but if an object in, for example, layer 1, is set with the overlay effect and I put whatever effect on his layer, like blur, the object disappear.

    What do you think? is better make a post on bugs section for all of this?

  • You might give a shout out to Gigatron

    I'm still fairly sure you can replicate it with blend modes.

    Although it would probably require multiple objects.

  • The HSL effects should work fine if everything is opaque. Dealing with alpha in HSL mode can be very tricky but if you're not using that then the results should be correct. If you think anything is wrong please file a bug report. There is nothing in this thread I can investigate, and last I checked it worked OK.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)