forked from AcademySoftwareFoundation/OpenShadingLanguage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Fixes to documentation of new oren_nayar_diffuse_bsdf parameters (
AcademySoftwareFoundation#1820) Fixes to documentation of new oren_nayar_diffuse_bsdf parameters * The new parameter was explained, but not added to the function prototype in the docs. * The semi-deprecated languagespec.tex was fixed, but it slipped our minds that we've shifted the docs to markdown for ReadTheDocs (the real place we should have changed was stdlib.md). Signed-off-by: Larry Gritz <[email protected]>
- Loading branch information
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,7 +67,7 @@ | |
\emph{[email protected]} | ||
} | ||
\date{{\large Date: 27 Oct 2023 \\ | ||
% (with corrections, 24 Nov 2021) | ||
(with corrections, 24 May 2024) | ||
} | ||
\bigskip | ||
\bigskip | ||
|
@@ -4640,7 +4640,7 @@ \section{Material Closures} | |
|
||
\subsection{Surface BSDF closures} | ||
|
||
\apiitem{\closurecolor\ {\ce oren_nayar_diffuse_bsdf}(normal N, color albedo, float roughness)} | ||
\apiitem{\closurecolor\ {\ce oren_nayar_diffuse_bsdf}(normal N, color albedo, float roughness, int energy_compensation=0)} | ||
\indexapi{oren_nayar_diffuse_bsdf()} | ||
|
||
Constructs a diffuse reflection BSDF based on the Oren-Nayar reflectance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters