A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Hi, I'm writing a simple stylised water shader with the classic intersection depth foam. I want this part of the water to cast a shadow, so I've...
I have a simple scene with two instances of PlayerInput. Each share a InputActionsAsset, which has Actions set up for both keyboard, mouse and...
It works perfectly, thanks so much for providing comments along with the code, it goes a long way in helping me learn :)
Thanks for the responses @halley and @bgolus! I see now how I'm confusing the depth sample with the distance from the camera. The shader I'm...
Hi, I'm writing a shader that makes use of the _CameraDepthTexture, but am noticing a strange artifact where the depth is less towards the center...
This is exactly what I was looking for! However, how would I go about implementing the code on this page, I have no knowledge of shaders...
One of the more popular assets, 2DDLS, as far as I can tell, would only produce a realistic effect in a top down application. Seeing as I was...
There is another method I have tried, but only works when the light is below or to the left of the sprite. I have placed an offset sprite...
So I want to make a 2d game with dynamic-ish lighting, but as the angle is top down offset a little, the shadows aren't working for me so I need...