1. We've introduced thread tags, search within a thread and similar thread search. Read more here.
    Dismiss Notice
  2. Learn how you'll soon be able to publish your games to China in four simple steps with Xiaomi. Sign up now for early access.
    Dismiss Notice
  3. Get further faster with the Unity Plus Accelerator Pack, free for new Unity Plus subscribers for a limited time. Click here for more details.
    Dismiss Notice
  4. We've released our first Timeline Experimental Preview, our new tool for creating cutscenes and more! To check it out click here.
    Dismiss Notice
  5. Unity 5.5 is now released.
    Dismiss Notice
  6. Check out all the fixes for 5.5 in patch releases 1 & 2.
    Dismiss Notice
  7. Unity 5.6 beta is now available for download.
    Dismiss Notice

Color Box - UV Free Color Gradient Shader

Discussion in 'Assets and Asset Store' started by tsangwailam, Aug 10, 2016.

  1. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    160
    4.png

    >>> Buy on Asset Store : http://u3d.as/xzn <<<

    ColorBox is a shader pack which alllow you to coloring your model without texture. You can define directional color from 6 directions and fills with solid color or gradient.

    9.png

    The shader pack includded 2 shaders. ColorBoxBasic is a shader for coloring object. ColorBoxSkybox is a shader to add color/gradient to the background.

    6.png

    8.png

    Highlighted ColorBoxBasic Shader Features

    - UV-Free
    - Unlit Shader
    - Solid, 2 colors and 3 colors gradient
    - Gradient in each side
    - Rotation of gradient fill
    - Full control on gradient position

    - Object, world and Screen space gradient
    - Support Texture
    - Outline

    - Receive/Cast Shadow
    - Receive Diffuse Light
    - Reveice Ambient Light
    - Lightmap Support
    - Specular Support

    Highlighted ColorBoxSkybox Shader Features

    - solid, 2 colors and 3 colors gradient
    - Rotation of gradient fill
    - Full control on gradient position
    - World or Screen space gradient

    Other Features

    - All source code included
    - Support both Unity 3d personal and pro
    - Included working demo scene shown in screen shot.

    Asset Store : http://u3d.as/xzn
    WebGL Demo : http://livedocs.digicrafts.com.hk/unity/colorbox/demo/
     
    Last edited: Oct 17, 2016
  2. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    160
    Scene create with ColorBox
    7.png 10.png
     
  3. shamsfk

    shamsfk

    Joined:
    Nov 21, 2014
    Posts:
    103
    Hello! I have several questions:
    • How does it compare to COLR?
    • Is it mobile optimised / tested?
    • Will it batch?
     
  4. shamsfk

    shamsfk

    Joined:
    Nov 21, 2014
    Posts:
    103
    Can you please answer?
     
  5. oleyb

    oleyb

    Joined:
    Nov 8, 2012
    Posts:
    6
    I'm not the creator, but I purchased the asset and have done some research comparing this to "Colr" and "Marvelous Technique". All three plugins seem to serve a similar purpose, and all three claim to be mobile optimized.

    Key differences between ColorBox and Colr are that ColorBox supports three-color gradients, rather than just two, you can change the direction of the gradient, and you can use image textures along with the lighting effects in the materials.

    The main advantage of both Colr and ColorBox over "Marvelous Technique" is that you can specify the lighting color in ALL directions (front, back, top, bottom, left, and right) whereas in "Marvelous Technique" it is just top, front, right, and rim which in the end is far less flexible. I initially bought "Marvelous Technique" because their marketing is good and it seemed more feature rich, but I ended up switching to ColorBox for greater control and I'm much happier.

    I could be misunderstanding how to best use the shader/materials, but it seems like none of the three assets are able to be batched because you need a separate material for each different light configuration using the shader.
     
  6. shamsfk

    shamsfk

    Joined:
    Nov 21, 2014
    Posts:
    103
    First of all, thank you for your reply!

    As of the batching question, I meant to ask if instances of the same object will batch?
    Perhaps it's me not knowing something, but it looks like objects with some shaders/materials are auto batched and some are not.
     
  7. geekchau

    geekchau

    Joined:
    Jun 13, 2013
    Posts:
    16
    Hey @tsangwailam, I just noticed your username and remembered you from the starling forum - nice to see you here.
    If I hadn't already bought a gradient shader package, I would have definitely gone for yours as it looks brilliant!
     
  8. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    160
    @shamsfk Sorry, didn't got notify for the thread. Thanks @oleyb for the description.

    For some main different compare with Colr,

    - Support 3 colors gradient.
    - Gradient supported on all six direction.
    - Rotation of gradient
    - Base Color by Texture
    - Specular/Ambient Color
     
  9. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    160
    @shamsfk For batching, the shader will use different shader variant depends on settings. So, they treat as different shader and will not do batching.
     
  10. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    160
    Updated. We add a outline feature in ColorBox

    11.png
     
  11. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    160
  12. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    160
    24hrs Sale now. 21% off.
     
  13. pilamin

    pilamin

    Joined:
    Apr 9, 2015
    Posts:
    3
    I bought the asset and it's mostly what I hoped for. One question: does it support shadows for deferred rendering?
     
  14. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    160
    Yes, it should be supported.
     
  15. Zymes

    Zymes

    Joined:
    Feb 8, 2017
    Posts:
    49
    Can this package make trees that are normally one material for leaves in low poly look like this: [​IMG] ?
     
  16. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    160
    Here a quick test.
    Screen Shot 2017-03-11 at 8.16.58 PM.png
     
    shamsfk likes this.
  17. spryx

    spryx

    Joined:
    Jul 23, 2013
    Posts:
    260
    This asset is awesome. I can do lighting FX without any lights in the scene (great for mobile)
    Setting _BackColor2 after enabling it at runtime seems to always select the same color, may be a bug somewhere. I have been getting around this by setting the default color with some linear interpolation. Will post a better explanation when I can look at my code.

    SmartSelectImage_2017-03-15-22-18-44.png
     
    Last edited: Mar 16, 2017
  18. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    160
    Could you have more details on the bug?