Jump to content

URP Water Shadows and Shader Graph Help?


Kalificus

Recommended Posts

***URP*** Hello, I am trying to figure out how to get Gaia's water to receive shadows, and more generally, I am looking for help on how to use the custom Shadergraph functions for water (PW_WaterSurface, PW_WaterAmounts, etc.). If there are any resources on how to utilize these functions that would be nice. Otherwise, some advice on how to get shadows on PW_Water would be great.

Link to comment
Share on other sites

To enable shadows on the water all you need to do is create your water through the runtime. 
After the water is created you will want to open the child of the Gaia Water and click on the water surface. 

In the inspector you can turn on cast shadows: 
image.png

Link to comment
Share on other sites

I must be doing something wrong - Shadows dont appear on the water surface.

 

Here is the expected shadow:

image.png.77c0ea2fb981e70eb7bd36cedb029174.png

And here is the resultant shadow:

image.png.6e997d6d01fc27fce6bba58db3492c20.png

 

This is using a fresh scene, all I did was open Gaia manager and set up a terrain. Then I checked Cast Shadows under the Water renderer's settings. To clarify: Im looking for shadows that appear on the water surface. Maybe theres another setting somewhere that I accidentally toggled off, etc.

Edited by Kalificus
Link to comment
Share on other sites

@Kalificus what version of Unity are you using?
Asking the water to cast shadows isn't going to help with it receiving shadows from other objects.

Whatever is below the water, terrain?, isn't receiving any shadows from the cube either.

I'll run some tests to see what I come up with.

Link to comment
Share on other sites

@Clyde Hello, there is no terrain under the water in that screenshot. Shadows work for all other aspects of my scene (including Gaia terrain) - its just the water that doesnt seem to be receiving. My Unity version is 2020.3.2f1, the Render Pipeline asset is UPRenderPipelineAsset PWS UP 8.2.0. URP version is 10.3.2.

 

In case its useful:

manifest.json

 

Appreciate the help

Edited by Kalificus
Link to comment
Share on other sites

  • 2 months later...
On 4/17/2022 at 5:43 PM, Kalificus said:

@Clyde

Hello, I am following up on this issue. Any progress? Thanks

I think that @Isaac has a solution coming soon. I saw sneek peeks of it and it works.

Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...