Skip to content

Commit 549c7b7

Browse files
author
devsh
committed
Finish Beer Tests
1 parent 22e84c4 commit 549c7b7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

examples_tests

include/nbl/asset/material_compiler3/CFrontendIR.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,9 +548,10 @@ class CFrontendIR : public CNodePool
548548
//! complements before multiplication for BTDFs.
549549
//! ----------------------------------------------------------------------------------------------------------------
550550
// Beer's Law Node, behaves differently depending on where it is:
551-
// - to get a scattering medium, multiply it with CDeltaTransmission BTDF placed between two BRDFs in the same medium
552-
// - to get a scattering medium between two Layers, create a layer with the above
551+
// - to get an extinction medium, multiply it with CDeltaTransmission BTDF placed between two BRDFs in the same medium
552+
// - to get a scattering medium between two Layers, create a layer with just a BTDF set up like above
553553
// - to apply the beer's law on a single microfacet or a BRDF or BTDF multiply it with a BxDF
554+
// Note: Even it makes little sense, Beer can be applied to the most outermost BRDF to simulate a correllated "foggy" coating without an extra BRDF layer.
554555
class CBeer final : public IExprNode
555556
{
556557
public:

0 commit comments

Comments
 (0)