LWRP and light cookies (Any work around?)

I recently discovered the hard way that cookies are still not supported in LWRP, I couldn’t find information on it for ages, but there it is in this blog from 2018. Unity Blog

My question is, is there any alternatives anyone knows of? perhaps a crafty shader?

As far as I know, cookies for Universal RP are still on the roadmap. However, I’d recommend you ask the folk in the Graphics General subforum - Unity Engine - Unity Discussions

1 Like

Hope it is not too late. Here is a repo to show how to use cookies in LWRP.

Is there workaround for HDRP?

Baked cookies for HDRP are currently in development.

1 Like

This looks interesting! I couldn’t get it working with URP, seems to be missing something
Any recent implementation? Was performance similar to classic light cookies?

Cheers!

Hi, deverolirc.
Is this repo works on your machine?
You can mainly view the changes in this commit(https://github.com/sienaiwun/unity_lightcookie_caustic/commit/6e6dcef6a3e7fef2ffa7b199a23aa6b16233a74f).
It is not hard to transfer this commit to URP. The idea is simple: to project a texture on the scene.

Okay gotcha, I just realized that you made changes to the render pipeline, so I guess I should just look through your changes to the pipeline & make attempt to make them on my URP.

Thanks

Did anybody manage to implement that repo in an actual project with URP?
I have been reading through it but I have no idea how to implement that in my project. I am just trying to get a spotlight cookie for a flashlight I am working on. Not possible at the moment with the URP that I know

2 Likes

Any updates from Unity when this will be supported?

Or more interestingly… how something called ‘Universal Render Pipeline’ is considered production ready when there’s regressions on features like this that have been around for 20yrs in games?

8 Likes