MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / evalG2

Method evalG2

src/testrender/shading.cpp:524–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522 }
523
524 static float evalG2(float Lambda_i, float Lambda_o) {
525 // correlated masking-shadowing
526 return 1 / (Lambda_i + Lambda_o + 1);
527 }
528
529 static float evalG1(float Lambda_v) {
530 return 1 / (Lambda_v + 1);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected