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.

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