Page MenuHome

Cannot set Sun position anymore
Closed, InvalidPublic


System Information
Operating system: Linux-4.19.0-13-amd64-x86_64-with-debian-10.7 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics (Whiskey Lake 3x8 GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 18.3.6

Blender Version
Broken: version: 2.92.0 Beta, branch: master, commit date: 2021-02-10 21:35, hash: rB2d252b6d26f9
Worked: 2.91

Addon Information
Name: Sun Position (3, 1, 1)
Author: Michael Martin

Short description of error
The Sun position plugin does not change any of the sky texture's settings whenever user inputs time or location values

Exact steps for others to reproduce the error

  1. Open the attached blend file (or create a new file, select cycles as render engine, setup a sky texture for the world). Sun position addon should be enabled.
  2. Switch the viewport to Rendered mode
  3. Type in some values in the location or time fields of the sun position menu

Expected behaviour: sun position gets updated as suitable, viewport updates the render
Observed behaviour: nothing happens.

Event Timeline

Did you choose a Sun object and a mode for the Sun position addon?

No, I kept the defaults (normal mode, no sun object).

The sky texture's model is Nishita, by the way.

Hello @Mehdi El Fadil (alc_ve), thanks for the report.
I changed the default behaviour of the add-on.
It used to be that you didn’t need to select a sky texture for the add-on to affect it, but this turned out to be confusing for users who didn’t know of the behaviour, activated the add-on and had the sky texture move without their consent.

So you now have to actually select the sky texture in the Sun Position panel, in the World properties.

Does this solve your problem? I couldn’t find the attached blend file so I don’t know if there is another problem.

Hi Damien,

The addon works as expected once the sky texture is set (I just tested with blender 2.92 RC).

Thanks for the explanations and follow up. I think we can mark this task as resolved :)