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

Car Paint Mobile Shader PRO [RELEASED]

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

  1. DATuan91

    DATuan91

    Joined:
    Aug 2, 2013
    Posts:
    9
    Previously, I use Car Paint Mobile Shader 3.3 with Unity 4.3 and everything works fine. But after I update to Unity 4.5.4 (patch 3), shaders looks FLAT WHITE on some Android devices (Samsung Galaxy Note 2, Samsung Galaxy Note 3 and Asus T100 - Asus Transformer). This shader works fine on editor and most other Android devices.

    Note: The shader I'm using is Car Paint Medium Detail (with only cubemap and a blank/empty texture). I have tried to force opengles 2.0 (Player settings), change cubemap settings (mipmaps, linear), change quality settings, but nothing works at all.

    Reddotgame, do you know how to fix or what cause this? It's really annoying and i have to fall back Unity 4.3. I have searched and found some one on Asset Store face the same problems like me.

    P/S: After I fall back to Unity 4.3.7p4, everything works again. I guess the problem might caused by OpenGL ES 3.0 of Unity 4.5.

    Update Infos: Some other Asset Store shaders which I'm currently using have same UV problem similar to this. Example: Toony shader pro is normal with Unity 4.3 (when build on Note 3), but in Unity 4.5 (when build on Note 3) the shader is mess. The problem's definitely related to OpenGL ES 3.0 of Unity 4.5 (new shader compilation system that they introduce). But I can't force OpenGL 2 (although tweaking Player settings). Maybe I will report it as a bug of Unity 4.5 in Issue Tracker.

    Reddotgame, do you have any workarounds (compiler directive or some things like this) ?
     
    Last edited: Oct 23, 2014
  2. dikkins

    dikkins

    Joined:
    Mar 15, 2013
    Posts:
    1
    I have the same problem like in comment above.
    Car Paint Mobile Shader doesn't work at Samsung Galaxy Note (looks flat white) and some other android devices with Unity 4.5.4
    What could be the problem?
     
  3. JonnyHilly

    JonnyHilly

    Joined:
    Sep 4, 2009
    Posts:
    749
    Hi, I tried using "Car Paint High detail", on my iOS game... looks great inside unity editor (unity pro 4.5.2f1) but on device, the cars all look invisible. (iPhone5, iPad3) any ideas ?
     
  4. puzzlekings

    puzzlekings

    Joined:
    Sep 6, 2012
    Posts:
    402
    Hi

    I am using the CarPaintUnlit shader and noticed that the Diffuse Material Color does not actually do anything, something confirmed by looking at the source.

    Would it be possible to make this multiply the diffuse texture material so that it can affect the overall colour somehow?

    cheers

    Nalin
     
  5. mazhar-ali

    mazhar-ali

    Joined:
    Mar 22, 2014
    Posts:
    1
    Is there any tutorial about how to apply these shaders on our cars???
     
  6. JonnyHilly

    JonnyHilly

    Joined:
    Sep 4, 2009
    Posts:
    749
    anyone else having issues with the shaders not working or looking invisible on iOS ?
    I'm trying to get the advanced flake shader to work (ipad3, iPhone5)
    or anyone confirm they got the working on mobile ? if so how ?

    Does it need to be forced to ogl es 3 ?
     
    Last edited: Nov 10, 2014
  7. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,796
    Yes, on the iPad mini and the iPhone 4 the High shaders don't work. There seems to be a fallback shader of some sort.

    Would be nice to see some support here from @reddotgames
     
  8. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Guys please tell me if all is working on newest Unity - I know there was some bug which made problems with mobile shaders (not only ours)
     
  9. JonnyHilly

    JonnyHilly

    Joined:
    Sep 4, 2009
    Posts:
    749
    I shipped update to my game a couple of weeks ago... and they were'nt working then (see my post above.. Nov 6th) so had to disable the shaders.
    I'll check again later today if I get time
     
    Last edited: Nov 25, 2014
  10. DATuan91

    DATuan91

    Joined:
    Aug 2, 2013
    Posts:
    9
    I confirmed this problems is still exists in Unity 4.6.1p1: the shader work great on editor, but on some Android devices, the shader looks flat white.

    I still have seen this problems on Samsung Galaxy Note 2, Samsung Galaxy Note 3, Asus T100 (Asus Transformer).

    I have used version 3.3 of Car Paint Mobile Shader. The shader which I test is Car Paint Medium Detail. I have tried Automatic, Force OpenGL ES 2, Force OpenGL ES 3 in Player Settings.
     
    Last edited: Dec 16, 2014
  11. JonnyHilly

    JonnyHilly

    Joined:
    Sep 4, 2009
    Posts:
    749
    medium worked ok, but advanced-flake is invisible, on iPad3, iPhone5
     
  12. Play_Edu

    Play_Edu

    Joined:
    Jun 10, 2012
    Posts:
    722
    i have same problem. i checked my game in unity 4.5.2 and 4.6.1 But glass sheder is not Working. Like in Samsung Galaxy s3, s4 . All Shder is fall back to Unity vertex-lit sheder pleases help.
     
  13. Autonoma

    Autonoma

    Joined:
    Jul 21, 2013
    Posts:
    92
    I bought the car paint shaders from the Asset Store.. I'm looking at using the Medium shader with decals, but have realized that the diffuse color on the material will modify not only the main texture but also the decal texture. Is there a way to make it so that the decal's diffuse is always white (real color) while allowing the main texture's diffuse to be changed?

    I get my cars to change colors by having their main texture be just blank white, and then I modify the diffuse value on that to change the car's color.. Without the ability to have the decal "ignore" the diffuse value, the decal is changing colors too.
     
  14. TechnicalArtist

    TechnicalArtist

    Joined:
    Jul 9, 2012
    Posts:
    736
    +1
     
  15. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Hello,

    OK lets fix that problems with new Unity. From what I can understand - all shaders are not working on Android deviced from Unity 4.6.x ?
     
  16. KepleriansTeam

    KepleriansTeam

    Joined:
    Mar 14, 2014
    Posts:
    31
    Hello!

    I'm thinking on buying this asset, but I see there are problems with the latest version of Unity (4.6 or higher). When it could be solved?

    Thank You :)
     
  17. Autonoma

    Autonoma

    Joined:
    Jul 21, 2013
    Posts:
    92
    Some devices are working with Unity 4.6.1p4.. In fact a majority seem to be. However my Note II doesn't. Here's the error I get:

    E/Unity (13304): GLES20: RedDotGames/Mobile/Car Paint Low Detail:
    E/Unity (13304):
    E/Unity (13304):
    E/Unity (13304): (Filename: Line: 413)
    E/Unity (13304):
    E/Unity (13304): GLES20: vprog textures are used, but not supported.

    Thanks,
    Zach
     
  18. SvenR

    SvenR

    Joined:
    Feb 2, 2015
    Posts:
    5
    Hi together,
    I have purchased the shaders yesterday. Unfotunately the shaders do not work. I'm working on Unity 4.6.1f1 right now and the most shaders are just white even in my Unity editor and without any functionality. It looks like only shaders that are working are the glas shaders as you can see below.



    I hope for a solution soon.
     
    Play_Edu likes this.
  19. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Are you sure you not in DX11 mode?

    Ive just open it in 4.6.2 and all works fine here :
    2015-02-03 13_24_52-Unity - sample car.unity - car shader mobile - Android_.jpg
     
  20. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    OK Ive just tested deploying test scene on Note 4 and seems that all is correct.
    Keep in mind that I'm using Unity3d 4.6.2f1

    Screenshot from device :
    Screenshot_2015-02-03-13-38-17[1].png

    Also balls scene :
    Screenshot_2015-02-03-13-43-48[1].png
     
  21. SvenR

    SvenR

    Joined:
    Feb 2, 2015
    Posts:
    5
    Hey RedDot Team,

    you where right. I disabled Direct X11 Mode and they are working fine. Thx for the quick response and the great work!

    SvenR
     
  22. directx

    directx

    Joined:
    Dec 11, 2014
    Posts:
    47
    shader not working on android device why is that but works fine in unity editor
     
  23. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    What version of Unity? What device? As you can see few post above - Ive tested it on Note 4
     
  24. directx

    directx

    Joined:
    Dec 11, 2014
    Posts:
    47
    note 3 unity 4.5.5
     
  25. Play_Edu

    Play_Edu

    Joined:
    Jun 10, 2012
    Posts:
    722
    This is ok but when you make apk and See inside s3 and s4 then sheder Not Working in Unity editor(scene View) It's Working.
    I try With sheder Module or Dx 11 off. Unity 3d 4.6.1 and4.6.2
    pleases Help.
    Sorry For My Bad English:(
     
  26. LightYarn

    LightYarn

    Joined:
    Nov 18, 2012
    Posts:
    75
    I can confirm that the shaders do not work with Unity 4.6.X (4.6.2 in my case)

    Devices tested:
    HTC One (Tegra Chip)
    Sony Xperia Z
     
  27. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Maybe you have some console errors (from device) ? Its hard to find out what is wrong when on Note 4 all is working good
     
  28. LightYarn

    LightYarn

    Joined:
    Nov 18, 2012
    Posts:
    75
    Yep, here are some screenshots taken from logcat (testing was done with HTC One):

    Errors_01.PNG

    Errors_02.PNG
     
  29. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    thank LightYarn

    vprog textures are used but not supported

    this seems to be the problem .. I need to read about this problem - but google dont say much
    have you tried to setup simple scene with ball and medium detail shader (without textures) and see it this error will come up?
     
  30. LightYarn

    LightYarn

    Joined:
    Nov 18, 2012
    Posts:
    75
    Last edited: Feb 10, 2015
  31. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Thanks! Link will not help, cause even without textures you have the same error - so its not texture related.
    Can you send me your email on private message? I will prepare you some test shaders so you cantest it on your device.
     
  32. SvenR

    SvenR

    Joined:
    Feb 2, 2015
    Posts:
    5
    Hi,

    I have a problem with the Tiling of the textures. I haven't found a shader were the Tiling of the textures works. Is this normal?
     
  33. mojtaba64

    mojtaba64

    Joined:
    Aug 3, 2010
    Posts:
    56
    Hi,

    I want to buy this asset, but last posts say that there are some problem with shaders.
    Is everything work correctly now?

    Thanks
     
  34. mojtaba64

    mojtaba64

    Joined:
    Aug 3, 2010
    Posts:
    56
    Ok, I've bought this asset. Test it on gpad pro 8.3 and it worked.
    some of my cars have sport texture on some part of the body. I didn't found a way to only changed the body color. I need something like "Low Paint Car Detail" that accept alpha channel and a new color properties (let's name it body color), every pixel that have 0 alpha show body color instead of diffuse texture.

    Sorry for bad english.
    Thanks
     
  35. Penth0s

    Penth0s

    Joined:
    Feb 27, 2015
    Posts:
    1
    First of all sory my english

    I have the same problem , all shaders not working on any samsung device but working other device ı tested 4.6.0b21 and 4.6.2f1 pls help thank you.
     
  36. Antti202

    Antti202

    Joined:
    May 20, 2014
    Posts:
    5
    Please update it so it works with Unity 5 too, thanks :)
     
  37. blamejane

    blamejane

    Joined:
    Jul 8, 2013
    Posts:
    233
    Do these shaders work with Unity Free?
     
  38. Antti202

    Antti202

    Joined:
    May 20, 2014
    Posts:
    5
    Yes, but not with Unity 5.
     
  39. blamejane

    blamejane

    Joined:
    Jul 8, 2013
    Posts:
    233
    Actually, these don't work with 4.6.3
     
  40. Antti202

    Antti202

    Joined:
    May 20, 2014
    Posts:
    5
    Worked fine with 4.6.
     
  41. exerion

    exerion

    Joined:
    Jun 29, 2011
    Posts:
    54
    We'd also like to see full support for Unity 5. Thanks
     
  42. LeagueOfMonkeys

    LeagueOfMonkeys

    Joined:
    Aug 13, 2012
    Posts:
    33
    UNITY 5 Pleeeeeeeeese ! Just needs to support the reflection probe - everything else should be fine
     
  43. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    Hello

    Unity 5 it is - finishing up shaders (3 more to convert) :

    upload_2015-3-26_13-25-29.png
     
    LeagueOfMonkeys likes this.
  44. reddotgames

    reddotgames

    Joined:
    Apr 5, 2011
    Posts:
    705
    We submitted new version 4.2 into Asset Store.

    - shaders will work now in Unity 5.0 (like in 4.x)
     
  45. DATuan91

    DATuan91

    Joined:
    Aug 2, 2013
    Posts:
    9
    Thank you Red Dot Game
    I appreciated it for a long time.
     
  46. xaeroxx

    xaeroxx

    Joined:
    Dec 2, 2012
    Posts:
    17
    Hello, I want to add decals to my car. However, the offset values do not change anything. How can you put the decal on the right place without offsetting? (I'm using Unity 4.6.4p1)

    Thanks in advance..
     
  47. SvenR

    SvenR

    Joined:
    Feb 2, 2015
    Posts:
    5
    Hi together, hi RED DOT Games
    at first, thanks for all the updates you made. It's great that you improve your product steadiely without any further costs. My Question:

    Is it possible to use the Tiling function with the shaders? I need to have a tiled texture on my surface. Do I something wrong or isn't it possible with the shaders?
     
    Last edited: Apr 24, 2015
  48. Joyrider

    Joyrider

    Joined:
    Aug 31, 2012
    Posts:
    27
    Hello,
    We're having some trouble on the Ultra shaders (both regular and Lightmapped) of the latest update.
    Upon compilation for Android on Unity 4.6.3f1, we're getting an error on the following code :
    TRANSFER_VERTEX_TO_FRAGMENT(o);
    with the error:
    Shader error in 'RedDotGames/Mobile/Car Paint Ultra Detail': 'v' : undeclared identifier; 'vertex' : illegal vector field selection (line 141)

    Same with the ultra lightmapped (line 150)

    The app gets compiled but we're seeing what I guess is the fallback shader.

    I re-tested it on a simple scene with a sphere, where the problem is reproduced.
    It displays fine in the editor, but displays the fallback shader on the tablet.

    A 2013 version of the shader however does work.

    Any clues as to what might be the issue?
     
    Last edited: Apr 29, 2015
    hellbliss12345 likes this.
  49. zugsoft

    zugsoft

    Joined:
    Apr 23, 2014
    Posts:
    453
    Hello,

    I just bought your asset, that works fine on Windows Phone 8 ;)
     
    Last edited: Sep 5, 2015
  50. hellbliss12345

    hellbliss12345

    Joined:
    Jan 29, 2013
    Posts:
    2
    Hi, the ultra bump shader does not work on Android phones, i am using Unity 4.6.8f1. Tried and tested with a Nexus 5,6 and a Moto G 3rd Generation. Any help ?