Sign in to follow this  

Best practice for drawing different text on multiple meshes

Recommended Posts

Hey Guys, i need a best practice for drawing text on multiple meshes with the same material.

In my first attempt i created a StandardMaterial and DynamicTexture for each mesh and called the drawText method on the DynamicTexture. This works but it reduces the performance. The framerate drops till it become unplayable (browser freezes).

I would be grateful if u have solution for this.

Share this post

Link to post
Share on other sites

Hi and welcome @devour

 Have you tried applying the same dynamicTexture to each mesh? 

In this playground different text is written on different rectangles using  SPS system and one large dynamicTexture. It should be extendable to meshes other than rectangles.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.