For those who are interested - I modified the 6S source code and included Landsat 8 and Sentinel-2 spectral response functions from ESA/NASA web sites.
You just need to select proper band in your 6S configuration file (usually row 8):
- Landsat 8 bands 1 - 8 are encoded as 200 - 208
- Sentinel2 bands 1 to 12 are 209 - 220 and band 8a is 221
As for geometry conditions I was a bit unsure whether I should change anything in the source code. As far as I understand the code sensors 7 (Landsat TM) and 6 (HRV) use the same function. Thus I assume, that Landsat 8 and Sentinel-2 should also use it.
I'm not an expert on atmospheric correction, so if you have any suggestions/comments, do not hesitate to email me. I haven't tested the code very much, you use it on your own risk. I would appreciate if you comment on your results.
Regards,
Marcin.