Topic: How to use properly enableRenderToTexture(....)?

Hi. I tried to use lua enableRenderToTexture() function and player screen wont show up(jams the screen). Also i tried to use it before and within onsceneupdate function and its the same. Maybe someone can advice me how to use it properly. Thanks


my code:

Camera = getCurrentCamera()
enableRenderToTexture(Camera,"maps/3dlabs.png",256,256)

Last edited by Skywriter (2014-07-22 19:19:27)

Re: How to use properly enableRenderToTexture(....)?

Hi,
there is a sample here : http://www.maratis3d.org/download/render-to-texture.zip