Search Unity

Question How to mask out anything inside my mesh volume with URP/ShaderGraph

Discussion in 'Shaders' started by TheCelt, Dec 6, 2022.

  1. TheCelt

    TheCelt

    Joined:
    Feb 27, 2013
    Posts:
    742
    I am currently using URP / ShaderGraph and have a water surface. I am trying to mask out the water from the volume of my boat but i can only find an old script based on the built in pipelines.

    How do we do this now with ShaderGraph where we can mask out the water from the inside of our mesh? I can' see any way to do it in ShaderGraph.