diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-07-25 20:11:29 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-07-25 20:26:12 +0300 |
commit | 46dbfce7fc59cd93566251b6cc7a2d8521c991bd (patch) | |
tree | fa0007b56c4ec71b8c1afc2f07083d442cd6bd0f /source/blender/makesrna/intern/rna_nodetree.c | |
parent | 703dff333ce6cbc25c990042858a0c40f9a212cb (diff) |
Cycles: Nishita Sky: Fix sun disk imprecision for large elevation
The issue was introduced by rBad5e3d30a2d2 which made possible to use
unbounded elevation angle.
In order to not touch the shading code, we just remap the value to the
expected range the shading code expects. This means that elevation angles
above +/-PI/2 effectively flip the sun rotation angle.
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
0 files changed, 0 insertions, 0 deletions