First off, thank you so much for this example repo! I've spent way too long searching for a way to make unlit shadows work and only finding outdated posts.
One thing I had to do to make your repo work, was adding one line to CustomLighting.hlsl to fix an error that said that VERSION_GREATER_EQUAL does not exist. The line in question is:
I'm on my MacBook Pro (Big Sur 11.5, Metal) on URP version 11.0.0. Not sure if this is necessary only for Mac or only for newer versions of URP though.
Hi!
First off, thank you so much for this example repo! I've spent way too long searching for a way to make unlit shadows work and only finding outdated posts.
One thing I had to do to make your repo work, was adding one line to
CustomLighting.hlsl
to fix an error that said that VERSION_GREATER_EQUAL does not exist. The line in question is:I'm on my MacBook Pro (Big Sur 11.5, Metal) on URP version 11.0.0. Not sure if this is necessary only for Mac or only for newer versions of URP though.
Cheers!