Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2022-07-25 20:11:29 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-07-25 20:26:12 +0300
commit46dbfce7fc59cd93566251b6cc7a2d8521c991bd (patch)
treefa0007b56c4ec71b8c1afc2f07083d442cd6bd0f /source/blender/makesrna/intern/rna_nodetree.c
parent703dff333ce6cbc25c990042858a0c40f9a212cb (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