# Question about genssky and white efficacy factor

**URL:** <https://discourse.radiance-online.org/t/question-about-genssky-and-white-efficacy-factor/7088>\
**Category:** radiance-general\
**Created:** [December 3, 2026, 2:08pm UTC](https://discourse.radiance-online.org/t/question-about-genssky-and-white-efficacy-factor/7088 "2026-12-03T14:08:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NimaForouzandeh](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/n/c68b51/32.png) [@NimaForouzandeh](https://discourse.radiance-online.org/u/NimaForouzandeh)\
**Post date:** [December 3, 2026, 2:08pm UTC](https://discourse.radiance-online.org/t/question-about-genssky-and-white-efficacy-factor/7088/1 "2026-12-03T14:08:52Z")

</div>

Dear all,

I am evaluating the spectral rendering of Radiance 6.0.2 with a genssky → oconv → rtrace pipeline, over 2083 timestamps with -L inputs.

I see a consistent error of around +14% in direct normal and +11% in horizontal illuminance for both the photopic and melanopic, and about the same spectrally (last figure below).

In genssky.c in my installed head ([link](https://github.com/LBNL-ETA/Radiance/blob/c1700d56ccb9e34e56b3512c6cce3f579430497a/src/gen/genssky.c)) the sun is scaled with WHTEFFICACY = 179 lm/W (line 504), while the solar spectrum is ~204 lm/W, and the diffuse gets an extra 1/1.15 “fudge” factor. Does this explain the errors, and is it intended?

Also, the diffuse error (which is derived from the other two components from the DHE = GHE − DNE·cos θz equation) depends on the sky and it is larger at lower solar altitude / sky illuminance (last subplot, first figure).

Are there any other potential sources of error?

Happy to share any part of my pipeline if that helps,

Thank you,  
Nima

 ![image](https://discourse.radiance-online.org/uploads/default/original/2X/2/2b8dfc969c0080cf1fd732e445c8585474450410.png)

 ![image](https://discourse.radiance-online.org/uploads/default/original/2X/9/92fa2a9a7f6d979f1805e84832e23381f73af6ed.png)

 ![image](https://discourse.radiance-online.org/uploads/default/original/2X/2/2b6912d971869f229c7ad1927c0b10ab254793ab.png)
