SpongeCake: A Layered Microflake Surface Appearance Model

Beibei Wang,Wenhua Jin,Miloš Hašan,Ling-Qi Yan
DOI: https://doi.org/10.48550/arXiv.2110.07145
2023-03-02
Abstract:In this paper, we propose SpongeCake: a layered BSDF model where each layer is a volumetric scattering medium, defined using microflake or other phase functions. We omit any reflecting and refracting interfaces between the layers. The first advantage of this formulation is that an exact and analytic solution for single scattering, regardless of the number of volumetric layers, can be derived. We propose to approximate multiple scattering by an additional single-scattering lobe with modified parameters and a Lambertian lobe. We use a parameter mapping neural network to find the parameters of the newly added lobes to closely approximate the multiple scattering effect. Despite the absence of layer interfaces, we demonstrate that many common material effects can be achieved with layers of SGGX microflake and other volumes with appropriate parameters. A normal mapping effect can also be achieved through mapping of microflake orientations, which avoids artifacts common in standard normal maps. Thanks to the analytical formulation, our model is very fast to evaluate and sample. Through various parameter settings, our model is able to handle many types of materials, like plastics, wood, cloth, etc., opening a number of practical applications.
Graphics
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the challenge of rendering layered materials in computer graphics, especially how to efficiently and accurately simulate the reflection and transmission of light in multi - layer structures. Specifically, the authors propose a new model - the SpongeCake model, which aims to overcome the limitations of existing methods, such as high computational complexity and the introduction of additional noise (variance). By introducing a brand - new layered BSDF (Bidirectional Scattering Distribution Function) model, this model uses microflakes or other phase functions to define each volume scattering medium layer and omits the reflection and refraction interfaces between layers, thereby achieving a fast and accurate single - scattering analytical solution as well as an approximate analytical solution for multiple scatterings. The following are the specific problems that this paper attempts to solve: 1. **Efficient single - scattering analytical solution**: Existing layered material models usually rely on position - independent Monte Carlo simulations. Although they are general and unbiased, they require expensive path sampling and introduce additional variance during each BSDF evaluation. The SpongeCake model provides a fast and accurate single - scattering analytical solution by avoiding these complex simulations. 2. **Approximate analytical solution for multiple scatterings**: Multiple scatterings are crucial for the performance of many materials, but previous solutions were either too complicated or had significant limitations. The SpongeCake model approximates the multiple - scattering effect by introducing two additional scattering lobes, namely a single - scattering lobe with modified parameters and a Lambertian lobe. This method not only maintains the analytical form but also ensures the efficiency and accuracy of the model by using a lightweight neural network to predict the parameters of the additional lobes. 3. **Wide range of material performances**: Through different parameter settings, the SpongeCake model can handle multiple types of materials, such as plastics, wood, cloth, etc. In addition, it can also achieve normal mapping effects by mapping the directions of microflakes, avoiding the artifacts commonly seen in standard normal mapping. 4. **Feasibility for real - time applications**: Due to its analytical form, the SpongeCake model is very fast in evaluation and sampling and does not introduce additional Monte Carlo noise, so it is suitable for real - time rendering and other high - performance application scenarios. In summary, the SpongeCake model aims to provide a fast and accurate method for simulating the optical properties of layered materials, especially in cases involving single and multiple scatterings, thereby providing a standard tool for physically - based shading toolkits.