Files
test/source/blender/gpu
Alexandre Cardaillac 0315eae536 Cycles: Add more scattering phase functions
Previously, Cycles only supported the Henyey-Greenstein phase function for volume scattering.
While HG is flexible and works for a wide range of effects, sometimes a more physically accurate
phase function may be needed for realism.

Therefore, this adds three new phase functions to the code:
Rayleigh: For particles with a size below the wavelength of light, mostly athmospheric scattering.
Fournier-Forand: For realistic underwater scattering.
Draine: Fairly specific on its own (mostly for interstellar dust), but useful for the next entry.
Mie: Approximates Mie scattering in water droplets using a mix of Draine and HG phase functions.

These phase functions can be combined using Mix nodes as usual.

Co-authored-by: Lukas Stockner <lukas@lukasstockner.de>
Pull Request: https://projects.blender.org/blender/blender/pulls/123532
2024-10-02 11:12:53 +02:00
..
2024-10-01 19:55:36 +02:00
2024-10-01 09:59:33 +10:00
2024-10-01 14:22:56 +02:00
2024-09-11 18:37:42 +02:00
2024-08-03 11:06:17 +02:00
2024-09-23 11:18:24 +02:00
2024-10-01 09:59:33 +10:00
2024-08-30 16:03:44 +02:00