Passing Flood-Fill Voxel Lighting Data to Shader

I have done some research into voxel lighting and have found that the flood-fill method seems to be the best. I have also given some thought into how i would do it, but have run into some roadblocks before i have even started.

Note: I am using VAO’s to render chunks which hold vertices, indices and UV data.

I am wondering if i would be able to pass a 3d array containing light values(0 to 15 or whatever) to the shaders. Which given vertex position and normal(would i need to add), calculate the block position(3d array index) it is facing and take the light value from the array and calculate ‘vertexColor’ with it.

Will my idea work? How would i pass a 3d array(array would be 16 * 256 * 26)?

Thanks.