Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[RELEASED] Sprite Color FX

Discussion in 'Assets and Asset Store' started by Ibuprogames, Jan 20, 2015.

  1. isaiah_sherman

    isaiah_sherman

    Joined:
    Apr 6, 2014
    Posts:
    2
    Awesome! Thank you :)
     
  2. Kai_Gil

    Kai_Gil

    Joined:
    Apr 21, 2013
    Posts:
    7
    Hey everyone,
    So I'm using the Dissolve feature which really rocks, however...

    It appears that I cannot select the Normal border setting without permenantly turning off the Sprite Color Dissolve - see image:



    It won't let me turn it back on! :(
     
  3. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Hi Kai_Gil!, that error is solved and will be in the next version (which I hope to be finished this week). Meanwhile, you can write an email to hello (at) ibuprogames (dot) com and send you a fix ;).

     
    Last edited: Sep 26, 2016
  4. VeTaL

    VeTaL

    Joined:
    Jul 2, 2012
    Posts:
    125
    Hi,

    Did you try it on WindowsPhone (i'm using 8.1).
    I had made a sample app, and run it on device (Lumia 920) but i dont see effect on my sprite. Output says:

    Code (CSharp):
    1.  
    2. WARNING: Shader
    3. Unsupported: 'Sprites/Sprite Color FX/Sprite Color Dissolve Border Color HardMix' - Pass 'FORWARD' has no vertex shader
    4.  
    5. WARNING: Shader
    6. Unsupported: 'Sprites/Sprite Color FX/Sprite Color Dissolve Border Color HardMix' - Pass 'FORWARD' has no vertex shader
    7.  
    8. WARNING: Shader
    9. Unsupported: 'Sprites/Sprite Color FX/Sprite Color Dissolve Border Color HardMix' - All passes removed
    10.  
    11. WARNING: Shader
    12. Unsupported: 'Sprites/Sprite Color FX/Sprite Color Dissolve Border Texture Additive' - Pass 'FORWARD' has no vertex shader
    13.  
    14. WARNING: Shader
    15. Unsupported: 'Sprites/Sprite Color FX/Sprite Color Dissolve Border Texture Additive' - Pass 'FORWARD' has no vertex shader
    16.  
    17. WARNING: Shader
    18. Unsupported: 'Sprites/Sprite Color FX/Sprite Color Dissolve Border Texture Additive' - All passes removed
     
  5. VeTaL

    VeTaL

    Joined:
    Jul 2, 2012
    Posts:
    125
    Aaand if to use in on Android phone, the effect has no color. I see the effect itself, but its always white-ish.
     
  6. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Hi VeTaL, sorry to hear that. Can you please send us the full log when this error occurs, to hello (at) ibuprogames (dot) com?

    And by the way, do tou have the latest version, 2.0.2?

     
    Last edited: Sep 26, 2016
  7. VeTaL

    VeTaL

    Joined:
    Jul 2, 2012
    Posts:
    125
    Sure, i'll send it in a while.
    Unfortunately, i need things to work by Friday, so i'll send you logs right after i pull them..

    Another thing to consider: when i'm using your effect on the large object, i'm setting Amount to 0, but Border width to something like 50, i can see effect on the large objects.

    PS: yea, i got the latest version, right from the store.
     
    Last edited: Sep 16, 2015
  8. VeTaL

    VeTaL

    Joined:
    Jul 2, 2012
    Posts:
    125
    Ping. Any news?
     
  9. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Hi VeTaL, could you send the mail again please? We have not received anything (I've even looked at the Spam folder).

     
    Last edited: Sep 26, 2016
  10. VeTaL

    VeTaL

    Joined:
    Jul 2, 2012
    Posts:
    125
    Re-sent to your mail, please check again.
     
  11. cesarpo

    cesarpo

    Joined:
    Jun 8, 2013
    Posts:
    97
    Is it expected to make the game go to one digit FPS in an iPad retina (4th generation) ?

    Runs perfectly on an iPhone 6.

    Just a couple of sprites with blend mode additive and unlit shaders.
     
  12. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Hi cesarpo!

    In our tests, on a Nexus 5 LG (with Adreno 330 GPU) the Blend Demo runs at 50FPS. Each effect consumes between 0.05ms and 0.1ms. So it is strange a drop of 1FPS for only a couple of sprites with Blend effect.

    Can you give us more details at hello (at) ibuprogames (dot) com?

     
    Last edited: Sep 26, 2016
  13. VeTaL

    VeTaL

    Joined:
    Jul 2, 2012
    Posts:
    125
    Yea, thanks, problem was solved with a lightspeed :)
     
    Ibuprogames likes this.
  14. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    New version (2.1) in the store:

    • New effect 'Sprite Color Outline'.
    • New demo.
    • Fixed a bug with borders in SpriteColorDissolve. Now when the amount is 0, there is no border.
    • API breaking changes (orthographic corrections):
      • SpriteColorDissolve.DisolveTextureType renamed to SpriteColorDissolve.DissolveTextureType.
      • SpriteColorDissolve.disolveTextureType renamed to SpriteColorDissolve.dissolveTextureType.
      • SpriteColorDissolve.disolveTexture renamed to SpriteColorDissolve.dissolveTexture.
    • Small improvements.
    OutlineTwitter.gif


    Working on the next update ;).

     
    Last edited: Sep 26, 2016
  15. boorch

    boorch

    Joined:
    Oct 7, 2015
    Posts:
    40
    i really loved the tool and its capabilities but i have a question.
    i dont use a sprite sheet for animations, i design pieces of characters, create an atlas and animate them with mecanim in unity. what confuses me is, do i have to use an instance of effect per atlas part? is there any way to render the whole character with an effect?
     
  16. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Thanks for your interest in our asset Boorch!

    For now each sprite (SpriteRenderer) needs its own effect. We are working on a way to batch them (among other things).

     
    Last edited: Sep 26, 2016
    cg_destro likes this.
  17. boorch

    boorch

    Joined:
    Oct 7, 2015
    Posts:
    40
    that would be MASSIVE. keep up the good work!
     
    Ibuprogames likes this.
  18. Noukheim

    Noukheim

    Joined:
    Nov 23, 2015
    Posts:
    3
    Heya,

    I've been really pleased with the plugin so far and it has proven to be very flexible and reliable. One thing i've noticed though is that while using Sprite Color Mask 3 blending modes color and luminosity seem to have switched places. The same thing happens for other people in the team as well so it's not only my unity doing its tricks.

    Other than that it seems to be working very well but would it be possible to add a "tint" blending mode to the Color mask 3? So basically the same thing as what the Sprite renderer's Color does but with the masks Sprite Color Mask 3 provides.
     
    Ibuprogames likes this.
  19. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Thank you for your interest in our pack Noukheim.

    I just checked the shaders and each one uses its function. You mean that formulas are changed?

    I think you can get the same effect using Multiply.

     
    Last edited: Sep 26, 2016
  20. Noukheim

    Noukheim

    Joined:
    Nov 23, 2015
    Posts:
    3
    Yeah, it would seem like it. I just checked and it happens only with the Sprite Color Mask 3.

    Seems to do the same thing. Thanks a lot :)
     
  21. Deadcow_

    Deadcow_

    Joined:
    Mar 13, 2014
    Posts:
    130
    Hey, bros, can anyone confirm, that I'll be able to add one-pixel-outline (with 16 ppe, 0.0625 unit outline)? It looks like outline size is differs on the edges of the sprite. All I need is outlines and don't want to buy the pig in a poke, thanks
     
  22. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    I just reply by mail Deadcow_ ;)

     
    Last edited: Sep 26, 2016
  23. pep_dj

    pep_dj

    Joined:
    Nov 7, 2014
    Posts:
    178
    Hi! I'm interested on this plugin because of the outline effect. I saw the demo, and I see it's working well on pixel-art sprites, but I would use it for adding a black outline to high-res sprites. So, please, can you attach some screenshots of a high-res sprite with outline effect applied?
     
  24. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Sure, contemplate and fear the great Baron of Hell (400x688):



     
    Last edited: Sep 26, 2016
    pep_dj likes this.
  25. pep_dj

    pep_dj

    Joined:
    Nov 7, 2014
    Posts:
    178
    Thanks! I'll buy it soon :)
     
    Ibuprogames likes this.
  26. pep_dj

    pep_dj

    Joined:
    Nov 7, 2014
    Posts:
    178
    I've just bought Sprite Color FX, but I can't achieve what I want. I would like to draw an outline, but my object is composed of several sprites, not only one. I've tried your plugin and it only works for unique sprites. Is there any way to use it for draw an outline of GameObjects composed of several sprites? If not... I'm sorry but... please, can I have a refund?
     
  27. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Please contact us by mail, hello (at) ibuprogames (dot) com, and we will find a solution (or refund).

     
    Last edited: Sep 26, 2016
  28. Async0x42

    Async0x42

    Joined:
    Mar 3, 2015
    Posts:
    104
    Hey there, I'm having this issue with Sprite Outlining, basically when the sprite has transparency, it outlines any of the pixels that are partially transparent.

    As seen here in the top-left: http://imgur.com/QNdbaK0
    It should look like the image in the top-right though, I think.

    Is this intended, or a bug? Is there an easy way for me to change it so partially-transparent pixels don't get 'outlined', since it's kind of filling them in right now rather than outlining.

    Thanks!
     
  29. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Hi Async0x42, the effect uses the alpha channel to do some calcs. Can you send me at hello (at) ibuprogames (dot) com a sprite to do some tests?

    Thanks.

     
    Last edited: Sep 26, 2016
  30. Lionfish_Studios

    Lionfish_Studios

    Joined:
    Jan 6, 2016
    Posts:
    1
    Hi,

    I love your product but I have a few questions:

    1) I tried to use the outline effect but when I set the sprite to -1 X scale to flip it, the sprite no longer renders in unlit mode.

    2) When parented, sometimes the light does not affect child objects using bumplit outline effect.

    3) Can I add multiple effect on the same sprite? eg. Outline then fade away?

    One more request, hope you guys work on the mesh renderer version of the product soon. I am using Spine2D for my animations but sadly, couldn't use it with your awesome effects.

    Cheers
     
    Ibuprogames likes this.
  31. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Hi Lionfish_Studios, thanks for your interest in our asset!

    1. It seems a bug... i'll fix it.
    2. Can you send us the scene at hello (at) ibuprogames (dot) com?
    3. I am afraid that is not possible. You can only have one active effect at time :(
    About use Mesh Renderer, it's something we're thinking, but it would be a diferent asset ;)

    Regards.

     
    Last edited: Sep 26, 2016
  32. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    New version (2.2):
    • New effect 'Glass'.
    • Overlap mode in Outline effect.
    • Custom outline mask in Outline effect.
    • Alpha threshold in Outline effect.
    • Small improvements.



    Working on the next update ;).

     
    Last edited: Sep 26, 2016
    VeTaL likes this.
  33. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    New version (2.3):
    • New effect 'Sprite Color Instagram', 15 filters.
    • New Outline growth mode (proportional or pixels).



    Working on the next update ;).

     
    Last edited: Sep 26, 2016
  34. Noukheim

    Noukheim

    Joined:
    Nov 23, 2015
    Posts:
    3
    Heya,

    I recently started using unity's sprite packer and notice that the sprite color masks 3 doesn't work correctly with it. I've been trying to make a workaround but so far my attempts have been futile. Is there a possibility that the plugin will support atlased sprites in the near future?
     
  35. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Hi Noukheim, I tried to make a test using Sprite Packer, but does not seem to work properly. Can you send a test project to hello (at) ibuprogames (dot) com?

    Thanks.

     
    Last edited: Sep 26, 2016
  36. Mr-Oliv

    Mr-Oliv

    Joined:
    Sep 14, 2012
    Posts:
    33
    How does outline look on sprites that are not pixelart? Sprites that have irregular shapes
    Thanks
     
  37. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Last edited: Sep 26, 2016
    VeTaL and zyzyx like this.
  38. primitiveType

    primitiveType

    Joined:
    Oct 25, 2012
    Posts:
    22
    Most of the demo links here and on the asset page are broken links or load a web player that doesn't work. Can you fix these? I'm interested in this asset but want to see better how it works.

    Also, with the lit sprites, does it just light the whole sprite or is there a way to apply a map for the lighting?
     
  39. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    It seems Google has stopped serving web in Google Drive. I'll use to another service and update the links as soon as possible.

    Right now the whole sprite is light, but it would be easy to apply a map. Send an email to 'hello (at) ibuprogames (dot) com' and we talk.

    Regards.

    [UPDATE]

    All demos moved to another service (Amazon).

     
    Last edited: Sep 26, 2016
  40. primitiveType

    primitiveType

    Joined:
    Oct 25, 2012
    Posts:
    22
    Thank you for the response. I will likely end up using sprite lamp for the lighting, but I'll probably still pick this up for some of the effects, particularly the chromatic aberration and color ramp.
     
    Ibuprogames likes this.
  41. sanpats

    sanpats

    Joined:
    Aug 24, 2011
    Posts:
    343
    Can you update for compatibility with Unity 5.5Beta? There are some warning about an obsolete command.

    Code (CSharp):
    1. Assets/SpriteColorFX/Scripts/Editor/SpriteColorBaseEditor.cs(55,24): warning CS0618: `UnityEditor.EditorGUIUtility.LookLikeControls()' is obsolete: `LookLikeControls and LookLikeInspector modes are deprecated. Use EditorGUIUtility.labelWidth and EditorGUIUtility.fieldWidth to control label and field widths.'
     
  42. sanpats

    sanpats

    Joined:
    Aug 24, 2011
    Posts:
    343
    I found the following issues:
    • Palette Setting on Sprite Color Ramp Mask component doesn't get save. It resets every time I press "Play". May be something wrong with Serialization?
    • I set pixel snap to "On" on the material for every GameObject I use with Sprite Color Ramp Mask component. These will get reset every time Unity recompile scripts (so every time I edit any script). I have to recheck all pixel snap check box with material for Sprite Color Ramp Mask component. It is not good for development.
    • Sprite Color Ramp Mask component doesn't work if the sprite is a part of Sprite Atlas (via Unity's Sprite Packer). So I can't use the Atlas feature. This is not good for performance optimization.
     
    VeTaL likes this.
  43. Duffer123

    Duffer123

    Joined:
    May 24, 2015
    Posts:
    1,215
    @Ibuprogames @IbuproLabs

    Hi - looking at maybe purchasing this asset but can it change the colours on an instance of a sprite in runtime? (so you don't have to create 2 different sprites outside runtime)?
     
  44. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Hi Duffer123, sure you can. All effects are configurable both from the editor and by code. In the case you pose, if 'sprite0' and 'sprite1' are two components with the 'SpriteColorOutline' effect:

    Code (CSharp):
    1. sprite0.GetComponent<SpriteColorOutline>().outlineColor = Color.Red;
    2.  
    3. sprite1.GetComponent<SpriteColorOutline>().outlineColor = Color.Blue;
    Do not hesitate to send any other questions to our email hello (at) ibuprogrames (dot) com


     
    Duffer123 likes this.
  45. Duffer123

    Duffer123

    Joined:
    May 24, 2015
    Posts:
    1,215
    Thanks.
     
  46. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,845
  47. Ibuprogames

    Ibuprogames

    Joined:
    Sep 1, 2014
    Posts:
    218
    Hi, no, but I am preparing an update to support it. I hope to have it ready for this month :)
     
    jGate99 likes this.