Page MenuHome

Drivers not working on cycles sky texture node
Closed, ArchivedPublic

Description

System Information
Operating system and graphics card

Windows 8.1 Pro 64bit
GeforceGTX 970

Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen)
2.77 hash: 22a2853

Worked: (optional)
Havent tried to do this for several versions... probably 2.6x

Short description of error

I'm trying to link the sky texture direction vector to the sun light in my scene by adding drivers (referencing the sun lamp)

when I rotate the sun lamp the debug output on the drivers updates and all looks correct (as far as I can tell) but the Sky texture remains stubbornly static (either in viewport render or by rendering out an animation

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

open the blend and rotate the sun lamp or just render out ... lighting changes but sky texture is not "driven"

Event Timeline

michael williamson (michaelw) raised the priority of this task from to 90.
michael williamson (michaelw) updated the task description. (Show Details)
michael williamson (michaelw) edited a custom field.

attached blend file example!

Joshua Leung (aligorith) changed the task status from Unknown Status to Archived.Mar 22 2016, 12:43 AM
Joshua Leung (aligorith) claimed this task.

There's no bug here.

The driver expressions ("expr") were still set to use a specific unchanging value (e.g. -0.285 for "X sun direction"), instead of the value from the driver variable "var". To get this working, simply change this to be "var", OR change the driver type from "Scripted Expression" to "Averaged Value"