Render to texture

Finally bothered doing this. Not perfect, but it's way, way faster, as
expected.
Needs more work.

Few other changes:
- Reduced max levels from 256 to 64
- Removing Shader class because it's pointless, because Java.