• 中文
  • spine有能支持unity的2D光照的shader吗

我们当前在项目中使用了Unity的2D Light,发现Spine默认的shader似乎都不受光,Spine这边是否有能够支持Unity 2D光照的shader呢?

Related Discussions
...

要对Spine骨架使用2D光照,你需要为spine-unity运行时安装URP Shaders UPM包,并为2D渲染器使用着色器。
To use 2D Lights for Spine skeletons, you need to install the URP Shaders UPM package for the spine-unity runtime and use shaders for the 2D renderer.

你可以在这里下载URP Shaders UPM包。
You can download the URP Shaders UPM package here:
Spine Unity Download: Download

你可以在以下部分找到关于URP与2D渲染器的着色器的详细信息。
You can find the details about shaders for URP with 2D renderer in the following section:
[url=http://zh.esotericsoftware.com/spine-unity#URP-%E7%9D%80%E8%89%B2%E5%99%A8


UPM%E6%8F%92%E4%BB%B6%E5%8C%85]spine-unity 运行时文档: URP 着色器 UPM插件包[/url]