Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question How can I make a transparent ice shader draw blood decals?

Discussion in 'Shaders' started by Volchok, Sep 6, 2021.

  1. Volchok


    Jul 26, 2017

    I have the ice surface on the lake. Through the ice you can see all under. The fact is that the blood decals do not fall on this ice as on a simple surface. The blood decals are placed on all other objects but not on the ice.

    How can I make a transparent ice shader draw blood decals?

    Tried to configure the ice shader, tried different layers, tried duplicating the lake surface and use a simple standard shader... Nothing helps.

    There is an idea to duplicate the surface of the ice, lower it a little in Y axis and use a mirror shader that will reflect what is under the lake at the top. Then it will not be transparent and will be able to take the decals on itself. Or use the camera to display what is under the ice on the texture.

    But it all looks like some kind of perversions, heavy for the resources of any renderer.

    What should I do? Does anyone have any good ideas?

    Thank you!
    Last edited: Sep 6, 2021