Skip to content

Possible to use drivers and access scene data? And regarding programming... #265

Answered by pragma37
festivities asked this question in Q&A
Discussion options

You must be logged in to vote

There's a limitation in Blender that doesn't allow to retrieve the relative path (and therefore adding drivers) for some types of node properties:
https://developer.blender.org/T51096

For now you can override the property from the material panel and add the driver there:

I have thought about adding the option to setup Malt properties with Python callbacks, but I'm on the fence since this would prevent some scene loading performance optimizations.

In any case, it's not possible to setup drivers directly from the shader code.


Oh, I also moved from the latest Release version to the Development branch pre-release version and now the include directive for NPR_Pipeline.glsl doesn't work anym…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by festivities
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants