Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RenderRoot2D可以与3D透明物体进行混合 #17883

Open
hubluesky opened this issue Nov 19, 2024 · 1 comment
Open

RenderRoot2D可以与3D透明物体进行混合 #17883

hubluesky opened this issue Nov 19, 2024 · 1 comment
Labels
Feature Request Needs Triage Needs to be assigned by the team

Comments

@hubluesky
Copy link

Use Case

我有一个spine的动画角色,这个角色想要放到3D场景中使用,而3D场景中有一些透明物体,比喻粒子,水面,玻璃等。

Problem Description

使用方法就是给这个spine添加一个RenderRoot2D组件,这个时候是可以放到3D场景中使用了,但无法与这些透明物体进行混合。
我尝试了给这个spine自定义材质,修改材质的Priority,开启Depth Test,依然没有效果,这个spine永远渲染在这些透明物体的上面。

Proposed Solution

No response

How it works

No response

Alternatives Considered

建议RenderRoot2D可以让这个2D的物体像面片一样,在3D场景中使用。

Additional Information

No response

@hubluesky hubluesky added Feature Request Needs Triage Needs to be assigned by the team labels Nov 19, 2024
@longchuan
Copy link
Contributor

可以设置一个独立的相机,在canvas里渲染就可以,不用添加组件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants