InMitsuba, participatingmedia are used to simulatematerials ranging fromfog, smoke, and clouds, over translucent materials such as skin or milk, to “fuzzy” structured substances such as woven or knitted cloth.
This section describes the two available types of media (homogeneous and heterogeneous). In pratice, these will be combined with a phase function, which are described in Section 8.6. Participating media are usually also attached to shapes in the scene. How this is done is described at the beginning of Section 8.1 on page 33.
When a medium permeates a volume of space (e.g. fog) that includes sensors or emitters, it is important to assign the medium to them.This can be done using the referencing mechanism: