neytsomh

请问我做的spine角色导入Unity引擎里,怎么样让角色能够被2D光照到呀?
就是那个Unity自带的Lightweight PR插件。那个插件需要渲染材质为Sprite-Lite-Default的图片。
啊啊啊啊啊啊,不是很懂。

By the way,咱们的论坛中文区搜很多关键字没用啊!什么都搜不到,即使是真实存在的帖子,搜里面的某些关键字也搜不到!
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
neytsomh
  • Beiträge: 6

Harald

如果您开始一个新项目,请考虑使用较新的Universal RP(URP),它已取代了Lightweight RP(LWRP)。

Spine提供LWRP和URP着色器,您可以在spine-unity文档页面上找到列表:
spine-unity Runtime Documentation: URP Shaders Extension UPM Package

这些着色器可作为单独的Unity Package Manager(UPM)软件包提供,并可在此处以zip软件包的形式下载:
Spine Unity Download: Download

解压缩zip软件包后,即可使用Unity中的软件包管理器添加本地软件包来完成安装:
Spine Unity Download: Installing Extension UPM Packages

该软件包包括2D Renderer示例场景,请看一下。 请确保相应地设置2D渲染器(也在“质量设置”中),否则,“ UniversalRenderPipeline / 2D”着色器将不显示任何内容。
-----
If you start a new project, please consider using the newer Universal RP (URP), which has replaced Lightweight RP (LWRP).

Spine provides LWRP and URP shaders, you can find a list here on the spine-unity documentation pages:
spine-unity Runtime Documentation: URP Shaders Extension UPM Package

These shaders are available as separate Unity Package Manager (UPM) packages and can be downloaded as zip-packages here:
Spine Unity Download: Download

Once the zip package is unpacked, installation is done via adding a local package using the Package Manager in Unity:
Spine Unity Download: Installing Extension UPM Packages

The package includes a 2D Renderer example scene, please have a look it. Please be sure to setup the 2D Renderer accordingly (also in Quality Settings), otherwise the UniversalRenderPipeline/2D shaders will not display anything.
Benutzeravatar
Harald

Harri
  • Beiträge: 2774


Zurück zu 中国Spine用户