Render to texture

With the new-ish layer system, render to texture is a little different now. Please see this thread for an example: [SOLVED] Is Render to Texture Broken?