Rendering to a texture using the frameBuf Node
An frameBuf node renders its subgraph to a hidden frame buffer, which may then be referenced as a texture source by texture nodes. Better yet, it do this continuously, refreshing the buffer with each frame, so that the buffer works as a sort of video feed of the subgraph.
In this example we´re dynamically capturing a rotating teapot as a texture, then applying that to a cube.