Rendering voxelized scene into a 3D texture

I am exploring a real-time GI technique that uses a 3D texture containing the voxelized scene around the camera. I think it is possible to do this in one geometry pass in DirectX 11. What are the required features and version in OpenGL, and how do I do it?