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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Car Paint Mobile Shader PRO [RELEASED]

Discussion in 'Assets and Asset Store' started by reddotgames, Jan 28, 2013.

  1. ferlodavid

    ferlodavid

    Joined:
    Nov 28, 2012
    Posts:
    3
    Please could you do ultra with color refmask and support for lightprobes?
    Thanks
     
  2. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    OK added to list for 3.3 version :)
     
  3. samshosho

    samshosho

    Joined:
    Apr 12, 2010
    Posts:
    370
    Can you get dynamic reflections with this shader on Mobile devices? would it affect the performance? thus the frame rate?
    Also, do i need to create reflection map and other textures for this to work? and if yes, do you explain how to make them in this package?

    Thanks
     
  4. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Yes but it would be too heavy for mobile devices. Better to use pre-generated cubemaps (there is a asset for this which even translate between cubemaps)

    If you wanna realtime cubemap generator script - send me PM I will send you one.
     
  5. samshosho

    samshosho

    Joined:
    Apr 12, 2010
    Posts:
    370
    okay, i sent you a private message to get the realtime cubemap generator.
    I wanted to know in regards to my other question. For generating reflection map and other textures to work with your shader.
    I think this part might be tricky as well, and if the reflection map and other textures are not done well, then the shaders won't work as they intended to. So do you explain how to make those shaders out of the basic gameobject texture?

    Thanks,
     
  6. POLYGAMe

    POLYGAMe

    Joined:
    Jan 20, 2009
    Posts:
    196
    I was going to attempt to write a car shader for my upcoming game... Now I'm just going to buy this! Perfect for my needs :D
     
  7. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Yup this will save you alot of time :)
     
  8. jake-Kim

    jake-Kim

    Joined:
    Aug 15, 2012
    Posts:
    8
    High detail shader does not appear on iPhone 5...


    i use unity 4.3 pro..
     
  9. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,796
    Excellent shaders, thank you, both versions have now been purchased :)
     
  10. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Only high detail shader?

    Thanks! :)
     
  11. jake-Kim

    jake-Kim

    Joined:
    Aug 15, 2012
    Posts:
    8
    mesh obj applied high and ultra shaders does not appear on my iphone5

    medium and low shaders have no problem..
     
    Last edited: Dec 2, 2013
  12. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    OK its something with new Unity 4.3 I will take a look into it ASAP
     
  13. blastone

    blastone

    Joined:
    Apr 7, 2009
    Posts:
    168
    I bought the mobile shaders and I think they look fantastic.

    I wanted to know if there is any benefit in making unlit versions of the shader ( I use the low detail one ) so I can have reflections on unlit cars.

    I use a vertex curving shader to control my terrain, is this something that can be easily implemented in the shaders?
    The curving shader is below:

    Code (csharp):
    1.  
    2. Shader "Custom/Curved" {
    3.     Properties {
    4.         _MainTex ("Base (RGB)", 2D) = "white" {}
    5.         _QOffset ("Offset", Vector) = (0,0,0,0)
    6.         _Dist ("Distance", Float) = 100.0
    7.         _Offset ("Offset", Float) = 100.0
    8.        
    9.     }
    10.     SubShader {
    11.         Tags { "RenderType"="Opaque" }
    12.         Pass
    13.         {
    14.             CGPROGRAM
    15.             #pragma vertex vert
    16.             #pragma fragment frag
    17.             #include "UnityCG.cginc"
    18.  
    19.             sampler2D _MainTex;
    20.             float4 _QOffset;
    21.             float _Dist;
    22.             float _Offset;
    23.            
    24.             struct v2f {
    25.                 float4 pos : SV_POSITION;
    26.                 float4 uv : TEXCOORD0;
    27.             };
    28.  
    29.             v2f vert (appdata_base v)
    30.             {
    31.                 v2f o;
    32.                 float4 vPos = mul (UNITY_MATRIX_MV, v.vertex);
    33.                 float zOff = vPos.z/_Dist;
    34.                
    35.                 //if ( vPos.z > -_Offset  vPos.z < -_Offset/2) zOff *= (vPos.z + _Offset/2 )/(_Offset/2);  
    36.                 //if ( vPos.z > -_Offset/2 ) zOff = 0;
    37.                
    38.                 vPos += _QOffset*zOff*zOff;
    39.                 o.pos = mul (UNITY_MATRIX_P, vPos);
    40.                 o.uv = v.texcoord;
    41.                 return o;
    42.             }
    43.  
    44.             half4 frag (v2f i) : COLOR
    45.             {
    46.                 half4 col = tex2D(_MainTex, i.uv.xy);
    47.                 return col;
    48.             }
    49.             ENDCG
    50.         }
    51.     }
    52.     FallBack "Diffuse"}
    53.  
     
  14. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Sorry for delay guys, and some kind of absence on forum but we were finishing game that will be published on Steam and we have 0 time for you. Right now we sent gold version on Steam so now I will return to forums, updated (yeah we have few !) so please give us some time and thanks for supporting!
     
  15. JonnyHilly

    JonnyHilly

    Joined:
    Sep 4, 2009
    Posts:
    742
    Hi, bought the car paint shader mobile pro, but the shader we want to use, appears broken.
    Tried it on your car that comes with the demo, and ours. Looks broken in the same way on both.
    No normal map, or flat normal map looks ok. regular normal map looks broken.
    Using Unity 4.3.1

    Please advise.
    $bumpbug.jpg
     
  16. anizone91

    anizone91

    Joined:
    Jan 29, 2014
    Posts:
    1
    unity4.3 updated version ??
     
  17. JonnyHilly

    JonnyHilly

    Joined:
    Sep 4, 2009
    Posts:
    742
    Just bought your plugin last week from asset store, so I assume its recent version.
    in the asset store it says "Requires Unity 3.5.7 or higher."
     
  18. omarzonex

    omarzonex

    Joined:
    Jan 16, 2012
    Posts:
    158
    this is my designer car and Carage games Super Cars

    Super Ultimited Extreme Shaders









     
  19. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Great looking model btw! I will check that problem witn U4.3 today and let you know.
     
  20. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    OK I did check and yes - there is problem with bump shader on Unity 4.3 in Mobile and Desktop version. We will make fix of it within few days (we are preparing bigger update)

    EDIT : Desktop version is working good in 4.3.3
     
    Last edited: Feb 1, 2014
  21. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Update submitted to Unity Asset Store

    3.3 Added Car Paint Unlit shader
    Added Car Glass Unlit shader
    Fixed 2 bumped shaders
    Added Car Paint Ultra Detail with Normal Map with Reflection Color Specular Mask

    Hope I did not forget about some of your requests! If so - please leave post and we will add it in next release.
     
  22. sathya

    sathya

    Joined:
    Jul 30, 2012
    Posts:
    279
    Unlit Shader looks cool. Can this shader support lightprobs as well. that will give some real feel to it i feel. Thanks in advance.
     
  23. gringo2012

    gringo2012

    Joined:
    Jul 6, 2012
    Posts:
    46
    Awesome updates.
    I'm loving the unlit shader.
    I'm using a lot the "Car Paint Low Detail Ref Color Mask" shader but I hate the lightning, as no matter what light intensity and color I use, the sides are always too dark.
    Is there anyway we can have an UNLIT "Car Paint Low Detail Ref Color Mask" version? This would make my game look as I need after all these hours of tweaking...

    Have these shaders been thoroughly tested on WP8? I'm testing with "Car Paint Low Detail Ref Color Mask" and I've used other shaders too, more or less complex, but I always get only a diffuse version to show on my phone (lumia 820) while on Android it works perfectly.

    Thanks
     
  24. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Looking good!
     
  25. Knightbenax

    Knightbenax

    Joined:
    May 16, 2013
    Posts:
    1
    Hello there, I am confused trying to set the shaders up. I have one directional light in my scene. The Car Glass shader works perfecting well. But none of the Car Paint shaders work or they don't show up on the Model. What am I doing wrong?

    See the screenshot below.
    $Test.png
     
  26. UnleadedGames

    UnleadedGames

    Joined:
    Feb 17, 2008
    Posts:
    242
    Did you apply a cubemap?
     
  27. TechnicalArtist

    TechnicalArtist

    Joined:
    Jul 9, 2012
    Posts:
    736
    i test with tab 2 samsung galaxy and find glass shader not proper working,Anything help?
     
  28. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,796
    There is a bug with mobile shader pro 3.2.

    On an iOS build (Ipad), any object with the Car Paint High Detail disappears (i.e totally transparent), when fog is enabled.

    If you disable fog it looks fine.
     
  29. sathya

    sathya

    Joined:
    Jul 30, 2012
    Posts:
    279
    None of the mobile shaders are working in WP8.
     
  30. Victor_Kallai

    Victor_Kallai

    Joined:
    Mar 5, 2014
    Posts:
    123
    Hello, I need an Ultra Detail Shader without the Sparkle texture and Flake stuff, OR a Low Detail with Dynamic Shadows from a directional light. Please help
     
  31. fred_gds

    fred_gds

    Joined:
    Sep 20, 2012
    Posts:
    184
    Hey,

    Well none of the Car Paint Mobile Shader Pro work on my project in Unity 4.5. In the editor they appear correctly but on the iPhone they won't show up.

    Getting following lines in xCode:

    WARNING: Shader Unsupported: 'RedDotGames/Mobile/Car Paint DuoColor' - Pass '' shader state not supported

    WARNING: Shader Unsupported: 'RedDotGames/Mobile/Car Paint Unlit' - Pass '' shader state not supported

    WARNING: Shader Unsupported: 'RedDotGames/Mobile/Car Paint Unlit' - Setting to default shader.


    Update:
    Apperently the issue is due to an incompatibly with open gl es 3.0, when changing the settings to forced open gl es 2.0 the shaders work fine
     
    Last edited: Jun 9, 2014
  32. gringo2012

    gringo2012

    Joined:
    Jul 6, 2012
    Posts:
    46
    Awesome shaders. I have been using them for a while now. Good job.

    1) Is there anyway we can have an unlit color mask and another unlit specular mask shader added to the unlit list?
    The lit ones show some bad lightning/shadows whatever setting i apply to the directional light or ambient color.
    The unlit ones show up just fine, but since there's no color mask or speecular mask applied to them, my car is shiny all over the place :). I would really love it if these would be added as my game will be published in 2 weeks.

    2) I just tested these shaders in the current PSVITA PSM build for unity. The car shaders do not work so far. Is a release for the Vita planned?

    Thank you

    PixelPlant Games
     
  33. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Well... it seems to work... but under ES2.0 my app crashes after 10 seconds or so... unusable... :(
     
  34. jxxxxst

    jxxxxst

    Joined:
    Nov 3, 2012
    Posts:
    50
    Hey there,
    some of your shaders behave funny on unity 4.5.1 when usage of directx11 is turned on.(Some shaders turning white, others missing reflection, other render plain pink) Turning it off, makes everything fine int the editor, BUT when I build for IOS (Ipad in this case), errors return.
     
  35. mimminito

    mimminito

    Joined:
    Feb 10, 2010
    Posts:
    780
    Any way to get a decent all round lit car? We have a single directional light, which works great for most of the car, but the opposite side is very dark still, and would love to get that lit up as well. We have tried 2 directional lights but the last added overrides the others, and point lights are nowhere near as nice looking.

    EDIT:
    Ignore me, I have managed to place 4 lights + directional and its looking much better. Colleague only used one point light, but it wasnt enough.

    Great pack!!
     
    Last edited: Jul 22, 2014
  36. anshul-bhardwaj

    anshul-bhardwaj

    Joined:
    Feb 28, 2012
    Posts:
    34
    Hi,
    Great unity package. Any support for Windows Store apps?
     
    Antti202 likes this.
  37. dshewmaker

    dshewmaker

    Joined:
    Oct 31, 2013
    Posts:
    18
    Hello,

    updated to unity 4.5.2f1 and the Car Glass with Texture works fine in windows build, but not on android build. The windows with this appear very white and not clear.

    I thought I would be okay updating for bug fixes, but guess not.

    I believe it worked on 4.5.1, not sure when it broke exactly.

    Dennis
     
  38. JuanCamiloAlcaraz

    JuanCamiloAlcaraz

    Joined:
    Apr 30, 2014
    Posts:
    7
    Hi, I have udated to Unity3d 4.5 and the shaders don´t work on OpenGL ES 3.0 is there a solution for this in a short time? or do I have to replace your shaders for another comercial solution. I want to know that, because I have a deadline to accomplish and the overall look of your shaders were very good but after updating to 4.5 the shaders didn´t worked anymore (they looks flat white).

    Thanks.
     
  39. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    I need check that in Unity 4.5
    Have some information that Unity changed something and now some shaders may not work. Give me some time I will push some update soon.
     
  40. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Just checked on my Xoom 2 : under OpenGL ES 2.0 all works good.
    Same with 3.0 - or maybe my Motorola dont support it and thats why all works good under forced ES 3.0 ?
    I can send someone APK to check - hit me with PM
     
  41. wana7262

    wana7262

    Joined:
    Jul 2, 2012
    Posts:
    101
    that garage model included?
     
  42. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Nope sorry
     
  43. lmg

    lmg

    Joined:
    Sep 11, 2014
    Posts:
    1
    I have that issue to on the iPad mini retina, ipad air and iphone 5S which all support OpenGL 3.0. A quick fix is to go in the build settings and change 'Graphics Levels' to 'Force OpenGL ES 2.0' instead of 'automatic'. Let us know when you push your update.
     
  44. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Version 4.0 submitted to Asset Store
    Now all shaders are uncompiled - full source - so this should sort our all problems.

    Let me know when you will check that!
     
  45. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Please wait until 4.0 - or if you in hurry send me PM with invoice number and I will send you link to download 4.0 version

    EDIT : now I see you have problem in editor - you sure you not in DX11 mode?
     
  46. Unititi

    Unititi

    Joined:
    Mar 6, 2013
    Posts:
    20
    I have shader problem with unity version 4.5.1f and virsion 3.3 in the sample ball scene and other scenes.. most shader don't appear like under photo. plz help me!
     

    Attached Files:

  47. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    I just reply you - check if you not in DX11 mode. (player settings)
     
    Unititi likes this.
  48. Unititi

    Unititi

    Joined:
    Mar 6, 2013
    Posts:
    20
    Woooow!! thx !! I solved!
     
  49. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Another update is coming in 4.1 : Windows Phone 8 support.

    Screenshot from Nokia Lumia 1320 :

    wp_ss_20140923_0002[1].png
     
  50. Play_Edu

    Play_Edu

    Joined:
    Jun 10, 2012
    Posts:
    722