Core Posted June 28, 2017 Share Posted June 28, 2017 And moving on to another task. I've tried to find info about this but still have no clue. So, where to start if I would like to display animations/interactive text on the surface of 3d object? And it should be almost instant, like "type text from keyboard and display it in real time" instant. Is it possible? Quote Link to comment Share on other sites More sharing options...
Ma-Shell Posted June 28, 2017 Share Posted June 28, 2017 You need to create a separate buffer, render to this buffer and set this buffer as the texture for the corresponding material. For a code example, look at the code here: https://www.leadwerks.com/community/topic/16413-draw-on-buffer-to-apply-to-sprite/#comment-107677 Quote Link to comment Share on other sites More sharing options...
shadmar Posted June 28, 2017 Share Posted June 28, 2017 Just use a second camera and SetRenderTarget or set target in the editor. https://www.leadwerks.com/docs?page=API-Reference_Object_Entity_Camera_SetRenderTarget 2 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Core Posted June 28, 2017 Author Share Posted June 28, 2017 Thank you, will look into those! 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.