Use what a camera sees as a texture

Hi!

I’m wondering if it is possible to use a camera as a texture. Kinda like this (made with three.js): Camera Texture (Three.js)

Use WASD to move around the cube. The camera is on the front of it.

Is this doable?

1 Like

Look up rendertarget textures or rrt

1 Like

rrt

rtt :wink:

1 Like

Thanks! I was able to pull together code from some other playgrounds.

https://playground.babylonjs.com/#GQCSSP

1 Like