This is just a Render To Texture example I did a day I was really bored. I made it from the Textured_Cube example of libnds.
Thanks to DiscoStew for helping to fix some bugs.
Note: Works with latest libnds.
Download