smatt Posted July 29, 2016 Share Posted July 29, 2016 Hello, I'm currently developing a FPS and need a minimap. I thought it would be possible to render the scene with a different camera to a second canvas but found no solution. Then I thought an image from above would be enough but BABYLON.RenderTargetTexture can't handle a second camera? What would be the best solution for implementing a minimap in the game? Thanks for every answer, Simon Quote Link to comment Share on other sites More sharing options...
JohnK Posted July 29, 2016 Share Posted July 29, 2016 Use viewports - checkout this topic Other topics on minimaps are available - a quick search on minimaps in this forum will bring them up. Quote Link to comment Share on other sites More sharing options...
Nabroski Posted July 29, 2016 Share Posted July 29, 2016 https://doc.babylonjs.com/tutorials/Layermasks_and_Multi-cam_Textures Found:http://www.babylonjs-playground.com/#5RGDQ#9http://www.babylonjs-playground.com/#28QOAU#21 Personal Project: work in progresshttp://babylonjs-playground.com/#1DLDGX#0 Quote Link to comment Share on other sites More sharing options...
smatt Posted July 29, 2016 Author Share Posted July 29, 2016 This helped me solving my problem: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.