Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Car Paint Shader PRO [RELEASED]

Discussion in 'Assets and Asset Store' started by reddotgames, Nov 19, 2012.

  1. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Ive checked Car Shader PRO on iOS - all shaders except Bumped works out of the box - but performance is killing device. Even on iPhone 5 with one car model and this shader you have about 25fps - so its not good. I will make special Mobile Ready version of this shaders. Should be ready in one week.
     
  2. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Hello! You wanna update you guys about MOBILE version of this shader. Its under development - and its going fine - you got almost the same quality that in desktop now.

    Here is screenshot from iphone5 device


    editor


    I should finish it in few days
     
    Last edited: Jan 26, 2013
  3. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Last edited: Feb 24, 2013
  4. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Upcoming update :
    - new shader for liveries
     
  5. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Version 1.7 with new liveries shader submitted to Asset Store
     
  6. sloopidoopi

    sloopidoopi

    Joined:
    Jan 2, 2010
    Posts:
    243
    Are the shaders work under DX11?
    When I open the test scene under DX 11 mode the shading looks totally different and not so great like in normal mode.
    (I use the latest version 1.7)
     
  7. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    1.8 update submitted to AS :

    - Car Paint with Reflection Mask
    - Car Paint with Decal without reflection

    I will check DX11 tomorrow and let you know - but dont worry even if something is wrong we will make it compatible :)
     
  8. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Still working on DX11 shaders.
    Meanwhile take a look at car using our Car Paint Shaders (at screenshot : duopaint (blue with black), glass shader, chrome, alpha paint,old dx9 shader)

    $car_sedan2.jpg
    Click for bigger version

    Look like render for me :)
     
    Last edited: Apr 11, 2013
  9. UnleadedGames

    UnleadedGames

    Joined:
    Feb 17, 2008
    Posts:
    242
    That looks down right awesome!
     
  10. Djiel

    Djiel

    Joined:
    Jun 25, 2012
    Posts:
    108
    Looks great indeed!

    Out of curiosity, how did you do the reflection on the floor?
     
  11. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    $car_sport.jpg

    Version 2.0 submitted to Asset Store.

    Changes :
    - car model
    - optimized all shaders

    Simple reflection shader + some custom reflection script (I saw one on Wiki also so check it out there)

    Glad you like it mate ! :)
     
    Last edited: Apr 8, 2013
  12. sloopidoopi

    sloopidoopi

    Joined:
    Jan 2, 2010
    Posts:
    243
    Looks great!
    Version 2.1 with DX11 support?
     
  13. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Im working on it - Fingers crossed!
     
  14. Hotsun

    Hotsun

    Joined:
    Aug 11, 2010
    Posts:
    121
    With no doubt this is the best Car shader package specially for sport cars in the assets store,but something is still missing.
    In most games(even mobile version of GTA Vice City) we can see glowing cars when they are at mid or far distance(the distance should be a variable in the shader).
    You can see this effect even in real world,fortunately I found a picture from my old camera's files and cropped the right part of it.
    $Glowing_cars.jpg
    If you can't see the picture use this link :
    http://s4.picofile.com/file/7737979351/Glowing_cars.jpg
    Right now if you use high specularity you can achieve kind of this effect but glowing shader is the one which will change from a distance to another and it is only for those parts exactly in the sight of light but the specular will slightly affect all parts. :wink:


    Another feature which is really cool is the detailed normal version of the shaders.
    Detailed normal is using a multiplying technique to add 2 normal maps to each other,you may do this in photoshop but you can't have multiple tiles for each texture.
    Actually the original normal map is the one with 1x1 tile and the detailed normal which is including only scratches can be added as a 5x5 tile or more.
    Note that the intensity of both normal maps will reduced by this technique so you have to exaggerated both of them using photoshop.(so easy)
     
    Last edited: Apr 24, 2013
  15. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    So you wanna to have shader that changes specular param depend of distance from cam + specular_change_factor ?

    About double normal map shouldn't be a problem - let me add it on DOTO list :)
     
  16. Hotsun

    Hotsun

    Joined:
    Aug 11, 2010
    Posts:
    121
    Something like that,I think it should work simultaneously with specular,I mean this can be something else,something like 2 different specular at the same time with different intensities I think and one of them should change from different distances(this part can be done using C# or JavaScript.)

    Thanks for that.
    Even in some situations double glass normal map can be usable(Maybe not as a car shader.)
     
  17. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Can you send me link to some youtube video with this effect so I can look at it in motion? This could help alot :)
     
  18. Hotsun

    Hotsun

    Joined:
    Aug 11, 2010
    Posts:
    121
    After paying more attention to the cars in real world I found that this effect should be part of a post process effect as the glowing parts are kind of overrunning the car's body.
    You can forget about this right now as I couldn't find what I want at youtube :D
     
  19. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    :) Good - this "second specular" idea was kind of weird :)

    Version 2.1 submitted to Asset Store
    Added :
    - Double Bump Car Paint Shader (as requested for hotsun)
     
    Last edited: May 14, 2013
  20. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    OK guys hit me with some requests (besides DX11 which Im working on)
     
  21. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Version 2.2 submitted to Asset Store

    Added Car Glass Advanced
    Added Car Paint Per Pixel Lightning (ALPHA VERSION)
    Added Car General Shader (for tires, plastic etc)
    Shaders are now compatible with Glow Effect from Unity
     
  22. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Upcoming update in 2.3 :

    Car Paint Advanced

    And small sample - both models uses the same cubemap (reflection PowerUp - ideal for night scenes) :

     
    Last edited: May 30, 2013
  23. sesamiam

    sesamiam

    Joined:
    Jun 13, 2012
    Posts:
    87
    OK so now I should be in correct thread. Hows that DX11 support coming? :)
     
  24. wbear

    wbear

    Joined:
    Oct 13, 2012
    Posts:
    9
    Good afternoon reddotgames


    You wrote a letter to the mailbox. But the answer is no.
     
  25. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    I have no idea what you write about :)

    Indeed this one is correct :) DX11 support will come later this month.
     
  26. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Great news ;) Ive already converted Car Paint Shader Advanced into DX11 support - so from next version you will have DX11 shaders in pack!

    Also DX11 shaders are faster than DX9 one :

    Vertex
    // opengl - ALU: 37 to 102
    // d3d9 - ALU: 37 to 102
    // d3d11 - ALU: 18 to 37, TEX: 0 to 0, FLOW: 1 to 2
    // d3d11_9x - ALU: 18 to 33, TEX: 0 to 0, FLOW: 1 to 2
    Fragment
    // opengl - ALU: 114 to 115, TEX: 3 to 4
    // d3d9 - ALU: 123 to 124, TEX: 3 to 4
    // d3d11 - ALU: 74 to 76, TEX: 3 to 4, FLOW: 1 to 1
    // d3d11_9x - ALU: 74 to 74, TEX: 3 to 3, FLOW: 1 to 1
     
    Last edited: Jun 22, 2013
  27. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Little demo of Car Paint Shader Advanced coming in 2.3 update. Works on DX9, OGL and DX11 :)

    $advanced.png
    Bigger image

    $refraction.png
     
    Last edited: Jun 24, 2013
  28. Djiel

    Djiel

    Joined:
    Jun 25, 2012
    Posts:
    108
    Wow, that looks really great. You're doing great work on these, with all the updates!
    I really need to pick this up some time soon.
     
  29. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Thanks ! I need make some webplayer or exe demo because it look better in motion ;)
     
  30. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Version 2.3 submitted to Asset Store

    2.3 Added Car Paint Advanced Shader
    Optimized Car Paint Shader
    Added first 5 DX11 Shaders (ZIP file inside Shaders directory)
    Redone balls sample scene
     
  31. J_P_

    J_P_

    Joined:
    Jan 9, 2010
    Posts:
    1,026
    Web player seems to be down
     
  32. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Correct - I'm preparing new one, but this will take some time. You can watch YT video or if you really wanna see shader in motion - write me email and I will send you some exe demo.
     
  33. fred_gds

    fred_gds

    Joined:
    Sep 20, 2012
    Posts:
    184
    I didn't find any information on this so does the package require Unity Pro? I was planning on using it for an iOS game but I currently don't have the Pro version so that would be an important thing to know for me ;)
     
  34. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    No, shaders (both Mobile and Desktop) do not require Unity Pro but keep in mind that Car Shader Pro will not work on mobile (for mobile we have "Mobile" edition).

    So if you wanna use on both desktop and mobile - you can use only Car Paint Shader Pro Mobile version which is more simplified and mobile-optimized version of Desktop version.
     
  35. TechnicalArtist

    TechnicalArtist

    Joined:
    Jul 9, 2012
    Posts:
    725
    Hi,

    Can work all shader in dx11?

    Dev
     
  36. fred_gds

    fred_gds

    Joined:
    Sep 20, 2012
    Posts:
    184
    Oh. Then I'll probably get Mobile version. Just one question. How much performance do the shaders need (average) in comparison to the diffuse or specular shader of unity?
     
  37. UnleadedGames

    UnleadedGames

    Joined:
    Feb 17, 2008
    Posts:
    242
    Hey RedDot, I know I said no more requests hehe but do you think I could get a request a normal map on the non-reflecting decal shader? I'm trying to pull off something like this (From Dirt 3) to add detail to our mud decal.

    $Dirt+4.jpg
     
  38. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Right now 5 shaders are converted into DX11 :
    - Car Paint
    - Car Paint Advanced
    - Car Glass
    - Car Glass Advanced
    - Car Chrome

    but every update from now I will add few new dx11 shaders.
     
  39. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    I never make such a compaction but LOW version needs few times more performance than diffuse.
     
  40. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Hey! :) Heh yes never say never :) OK I will do it but in next update ok?
     
  41. TechnicalArtist

    TechnicalArtist

    Joined:
    Jul 9, 2012
    Posts:
    725
    hi,
    Ok, thanks.
    Buy Very Soon!

    Dev
     
  42. UnleadedGames

    UnleadedGames

    Joined:
    Feb 17, 2008
    Posts:
    242
    Absolutely no rush! Thank you so much!
     
  43. Diab1O

    Diab1O

    Joined:
    Mar 31, 2013
    Posts:
    317
    Hi! I do not see in the description of matte paint. Would it be possible to add it in the next update?
    If it came, I immediately bought the package.

    Sorry for the error - Google translator.
     
  44. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    We will add it for sure.
     
  45. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Any requests for new shaders? (I remember about matte paint and this one will be added in next update)
     
  46. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    2.4 submitted to AS

    Whats new?

    - Car Paint Matte Shader
     
  47. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Diab1O did you check out matte shader?
     
  48. tr1stan

    tr1stan

    Joined:
    Jan 23, 2009
    Posts:
    147
    Hi all,

    Where did you guy normally get those nice car models. Like the Nissan GTR appear in the first screenshot of Car Paint Shader Pro on asset store. I would like to purchase some good car models for Car Paint Shader. The default car comes with Car Paint Shader doesn't look so good.
     
  49. digicraft63

    digicraft63

    Joined:
    Nov 6, 2012
    Posts:
    13
    Your shader package looks awsome.
    However, I am in a need for bump mapping in the DX11 shaders. Is that something that you are working on?
     
  50. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    675
    Thanks!
    I will add it in next version for you.
     
unityunity