Community Forum

How to create render texture?

Forum Overview >> Scripting

Created19.11.2014 15:23

Slavo Ls Modding (SLAVO) 19.11.2014 15:24
I want create texture for render viewport from camera. I see on youtube and i find video where can render video to texture. Please help me.

I want render video from my rear camera to screen in cabine - in PC monitor. I have in PC monitor plane with empty texture. I want render video from rear camera to this plane.

Slavo Ls Modding (SLAVO) 22.11.2014 21:20
Here is example.....PLS HELP me with this:

Emil Drefers (Unknown) 10.12.2014 10:06

you can't use openGL stuff in LUA directly, you can only use the available engine functions.

But there are possibilities to do, what you want to do.
There is even a mod, which does exactly what you wanto to do.

Well, the mod is for FS13, but i think the used functionalities for rendering a second view could work in FS15 as well.


Slavo Ls Modding (SLAVO) 10.12.2014 10:25
Hi Emil,

thanks, but my idea is rendering video to texture or plane in my cabine. I dont want render to screen with lua funciotn - overlay:render() - I dont want render to viewport...

I want render video from my back camera to 3D display in cabine. If you know what I mean.


Note: Log in to post. Create a new account here.