texture_render now accepts the camera as a parameter