Additive scattering

Description

Scattering This special scattering sums other scatterings. It can be used to add different contributions to the volume diffusion. For example, define an average isotropic diffusion and add a more specific diffusion such as Rayleigh or/and a very asymmetric Henyey-Greenstein function.

Children Nodes

This node is a scattering list. It may have a variable number of scattering children with custom names.

Scattering user-defined

First scattering

Scattering user-defined

Second scattering

Scattering user-defined

Ocean XML 6.1 example

<scattering type="additive" name="scattering">
     <scattering type="isotropic" name="scattering1">
             <spectrum type="uniform" name="density" value="3"/>
     </scattering>
     <scattering type="henyeygreenstein" name="scattering2" g="0.999">
             <spectrum type="rgb" name="density" rgb="10     7       2" gamma="2.2"/>
     </scattering>
</scattering>