Where to find the official HLSL code for Sprite-lit-default shader?

I’m trying to find the hlsl shaderlab code for the Sprite-Lit-Default shader.
I have downloaded the shader files from the Unity download page, but apparently the only sprite shaders in there are Sprites-Defaul, Sprites-Diffuse and Sprites-Mask, all of them with Lighting off.

Do you have any idea where I can get the code for the Sprite-Lit-Default? (I would like to expand it vía code, not shader graph)
I have search online, but have not been able to find a satisfactory answer. Or maybe I’m missing something obvious here here, as I’m relatively new to Unity.

Thanks!

The shader download is only for the built-in pipeline.

For URP and HDRP shaders, look inside the render pipeline packages. The Sprite-Lit-Default shader is for me located at:
Universal RP/Shaders/2D/Sprite-Lit-Default.shader

1 Like