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

[RELEASED] URP Reflective Water

Discussion in 'Assets and Asset Store' started by oleg_v, Oct 13, 2020.

  1. oleg_v

    oleg_v

    Joined:
    Nov 10, 2017
    Posts:
    68

    forum-image-002.png forum-image-001.png
    Re-implemented water for URP with distorted reflections.

    Package contains the following:
    • Two variant of ShaderGraph shaders: with hardcoded noise function and parameterized texture gradient (as it was done in Water shader from Standard Assets)
    • Two implementation of water:
      • Single "standalone plane" (similar to Water prefab from Standard Assets), each such prefab contains hidden cameras and render textures for each active viewer cameras. Easy to use but not good for performance.
      • Splitted method - when water reflections/renderTextures are controlled by parent object and all child planes just rendering all of the results. It's really better for performance and allows to cull invisible water planes w/o multiple reflection cameras when almost all of the water is visible.
    • Two demo scenes

    Known issues: sometimes reflections are working incorrectly in Editor mode because overall update did not cover update of render texture.

    Asset Store

    WebGL Demo
     
    Lars-Steenhoff likes this.
  2. dansyrotyn

    dansyrotyn

    Joined:
    Oct 16, 2012
    Posts:
    14
    I have just purchased but cannot test since we are using unity 2019.4
    Is there any version supporting 2019.4 unity?
     
  3. oleg_v

    oleg_v

    Joined:
    Nov 10, 2017
    Posts:
    68
    Sorry for this, version 1.2 with the fixes for 2019.3+ just sent to store, waiting for publishing.
     
  4. GCatz

    GCatz

    Joined:
    Jul 31, 2012
    Posts:
    281
    seems in the webgl demo the reflection doesn't work in URP mode ?
     
  5. oleg_v

    oleg_v

    Joined:
    Nov 10, 2017
    Posts:
    68
    On what scene?
    First two looks good as on screenshot. The last one is from Unity Boat Attack demo and it is not working for some reason in WebGL, but it is not included in package.
    You can get newer version of Boat Attack water system and try with WebGL, probably it will work.
     

    Attached Files: