I want to draw 2d lines onto a mesh as a texture, but they should be crisp at any zoom level, not an interpolated bitmap. Any ideas how to do that with Babylon js?
I swear I saw somewhere in the documentation a special material class to project one scene perfectly onto a mesh of another scene, as you would need for UI, but I can’t find it anymore. DynamicTexture is a pixelated pre-rendered texture; that’s not what I’m looking for.
I suppose it would be implemented by a kind of deferred rendering of the mesh (uv coordinates) first offscreen and then shading the dynamic texture at “infinite precision” for the visible pixels of the mesh, rather than rendering the texture first and using a texture lookup shader.