How to translate point into screen 2D coords on a rendertexture?

I’m using an ortho camera and projecting that onto a plane via rendertexture to make a minimap. I want to place dots on that rendertexture to represent position of myself and other players. I figured that putting straight HTML elements on the screen would be the right way, but I need to get the 2D coords. I know how to do this straight from a camera, but not from a rendertexture. Does anyone know if this is possible?

If you use multiple cameras, you can use layerMask:

https://doc.babylonjs.com/how_to/layermasks_and_multi-cam_textures

yes I am using layermasks. But I’m trying to determine the position of characters on the minimap and represent them using markers

Well as it is 2d the projection should be just about keeping x and z and then scale it to the size of your map