Managed to use texture for output