Hi everyone,
I’m working on the portal example project and noticed that text elements can’t be integrated properly. The issue seems to stem from the portal
and PortalGeometry
scripts, which achieve the portal effect by modifying the meshInstances
material of the pc.RenderComponent
. However, text elements don’t have a pc.RenderComponent
.
A workaround would be converting the text into a texture, but considering performance and maintenance costs, I’d ideally prefer to use the text element directly.
Could you share any suggestions on how to integrate text elements into the portal as well?
Here’s the project link for reference. Thank you.