Page MenuHome

2.79 GLSL nodes - Value node driven by driver does not update in the viewport
Closed, InvalidPublic


Operating system: win64
Graphics card: nvidia 1070

Blender Version
2.79 - broken

Short description of error
Drivers don't update shader when using value input node in GLSL nodes

  1. create a driver in a value node and have it target a objects worldPosition.x
  1. move the object in the viewport in GLSL mode and try and have the driver Effect a object color{F6891607}

Event Timeline

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Unknown Status.Mar 27 2019, 6:24 PM
Brecht Van Lommel (brecht) claimed this task.

This is a documented limitation of 2.79 nodes. It was solved in 2.80.

is there any hint of how to backport a fix?

It's not so much one bugfix, but a combination of changes in GPU code generation, addition of a shader cache and new depsgraph that makes this work well. Difficult to point to a specific change