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. Dismiss Notice

Stabe Fluids compute shader on URP

Discussion in 'Shaders' started by AliBuck, Jun 9, 2022.

  1. AliBuck

    AliBuck

    Joined:
    Aug 22, 2020
    Posts:
    30
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Looks good. I don't see any real specific HDRP code there. Compute is compute on all platforms. Perhaps your problem is just the shader to visualise it? What was your bug?
     
  3. AliBuck

    AliBuck

    Joined:
    Aug 22, 2020
    Posts:
    30
    It's just a black screen when I turn my project to URP.

    I guess the shader in the attachment should be converted to UPR?
    Is there an easy way to do it? =)
     

    Attached Files: