Skip to content

Commit

Permalink
Add explanation of UsdLux quantities and behavior
Browse files Browse the repository at this point in the history
Adds more detailed and precise explanations of expected behavior for
UsdLux lights to UsdLux docs.
  • Loading branch information
anderslanglands authored and pmolodo committed Jan 28, 2025
1 parent f7127e3 commit a774921
Show file tree
Hide file tree
Showing 6 changed files with 1,159 additions and 61 deletions.
8 changes: 7 additions & 1 deletion pxr/usd/usdLux/distantLight.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,16 @@ class UsdLuxDistantLight : public UsdLuxNonboundableLightBase
// --------------------------------------------------------------------- //
// ANGLE
// --------------------------------------------------------------------- //
/// Angular size of the light in degrees.
/// Angular diameter of the light in degrees.
/// As an example, the Sun is approximately 0.53 degrees as seen from Earth.
/// Higher values broaden the light and therefore soften shadow edges.
///
/// This value is assumed to be in the range `0 <= angle < 360`, and will
/// be clipped to this range. Note that this implies that we can have a
/// distant light emitting from more than a hemispherical area of light
/// if angle > 180. While this is valid, it is possible that for large
/// angles a DomeLight may provide better performance.
///
///
/// | ||
/// | -- | -- |
Expand Down
Loading

0 comments on commit a774921

Please sign in to comment.