Page MenuHome

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

Description

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

https://www.youtube.com/watch?v=ptWtAAZkfDs{F6891607}

Details

Type
Bug

Event Timeline

Brecht Van Lommel (brecht) closed this task as Archived.
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