Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Shader Unlit Transparent Cutout Colored

Discussion in 'PSM' started by totsboy, Jun 6, 2014.

  1. totsboy

    totsboy

    Joined:
    Jul 12, 2013
    Posts:
    253
    Apparently the shader Unlit\Transparent\Cutout Colored does not work on the vita, is there any other shader that does the same thing that I can use instead?
     
  2. totsboy

    totsboy

    Joined:
    Jul 12, 2013
    Posts:
    253
    This is the error log:

     
  3. eriQue

    eriQue

    Unity Technologies

    Joined:
    May 25, 2010
    Posts:
    595
    Looks like a bug.
    I've made a note of it, but if you report it then that would be even better :)
     
  4. totsboy

    totsboy

    Joined:
    Jul 12, 2013
    Posts:
    253
    Also, I'm having problems with particle shaders, most of them won't work. Is there a list of shaders that work on the vita?
     
  5. jesusluvsyooh

    jesusluvsyooh

    Joined:
    Jan 10, 2012
    Posts:
    377
    The default mobile particle shaders do, (except for that small camera angle viewing bug which is fixed in next update)
     
  6. totsboy

    totsboy

    Joined:
    Jul 12, 2013
    Posts:
    253
    Yeah, but they need light, right? I need one that does not need light. I found one that sort of work, but it's not ideal.

    But the biggest problem is the cutout one because I use it a lot =/
     
  7. eriQue

    eriQue

    Unity Technologies

    Joined:
    May 25, 2010
    Posts:
    595
    As always - a bug report with a repro project goes a long way ;)
     
  8. marclar83

    marclar83

    Joined:
    Jun 7, 2012
    Posts:
    16
    Forget the mobile transparency shader, use unlit\transparent cutout instead, it worked for me, but it's a bit heavier if your game is heavy, on my part that solved my transparency issue
     
  9. totsboy

    totsboy

    Joined:
    Jul 12, 2013
    Posts:
    253
    It does work, but I need color, and transparency cutout does not have it =/
     
  10. marclar83

    marclar83

    Joined:
    Jun 7, 2012
    Posts:
    16
    Can you bake the color you want in the texture directly? I had to do it to make a fence with transparency and with the color I needed. I also had a 2d billboard that didn't work and I had to model a 2d target to fix this issue, since no shaders could do the job!
     
  11. marclar83

    marclar83

    Joined:
    Jun 7, 2012
    Posts:
    16
    Also, you should import the shaders from the (mobile) standard assets package! Their's a lot of transparent shaders that can be useful.
     
  12. totsboy

    totsboy

    Joined:
    Jul 12, 2013
    Posts:
    253
    what do you mean? create another texture with a different color before applying the shader?