Add clearCoatIorChange property to materials (#890)

This property can be used to control the darkening of the base layer
due to a change in index of refraction when going through the clear
coat layer.
This commit is contained in:
Romain Guy
2019-02-27 10:30:46 -08:00
committed by GitHub
parent ace38eff24
commit 705c1969b2
15 changed files with 82 additions and 3 deletions

View File

@@ -380,6 +380,7 @@ static bool printMaterial(const ChunkContainer& container) {
printChunk<bool, bool>(container, filamat::MaterialShadowMultiplier, "Shadow multiply: ");
printChunk<bool, bool>(container, filamat::MaterialCurvatureToRoughness, "Curvature to roughness: ");
printChunk<bool, bool>(container, filamat::MaterialLimitOverInterpolation, "Limit interpolation: ");
printChunk<bool, bool>(container, filamat::MaterialClearCoatIorChange, "Clear coat IOR change: ");
std::cout << std::endl;