1

How to make the output attribute of the Geometry Nodes modifier control other object attributes, such as the spot size of a spotlight, if it can be used as a driver?

I worked out the number, but I can't seem to write it into the properties of the light.

enter image description here enter image description here enter image description here enter image description here

quellenform
  • 35,177
  • 10
  • 50
  • 133
F91
  • 31
  • 3
  • 1
  • @MarkusvonBroady I think the question is not about GN > Shader, but about GN > Light properties (which to my knowledge is not possible). – quellenform May 14 '23 at 21:00
  • 2
    @quellenform the GN > Shader uses a driver driven by an empty hooked to a vertex controlled by GN. Light Properties could be likewise driven by an empty hooked to a vertex controlled by GN. – Markus von Broady May 14 '23 at 21:45
  • @MarkusvonBroady Ah, cool, right, that would be possible. I was thinking of direct control. – quellenform May 14 '23 at 21:49
  • @Markus von Broady Thanks for your reply! I tried it, as if to change the empty object by copying the position. It moved, but the number of the position attribute did not change. I also tried to bind the parent, but it didn't work. – F91 May 16 '23 at 07:46
  • @Markus von Broady I tried again. It seems that even if the value of the position attribute of the empty object has not changed, it can still have an effect, but I found that if the geometric node merges geometry when it is finally output, it will fail, because my geometric node is not only used to drive and control the vertices of the empty object, but also to do other grid effects. Maybe I should transfer the data to another new geometric node to control the empty object? – F91 May 16 '23 at 08:21
  • @F91 sounds reasonable, a separate object I'd call a "geo-driver bridge", that accesses the data in the geometry of other objects and applies it as position of its vertices (which aren't dynamically created, so that hooking empties to them works). – Markus von Broady May 16 '23 at 08:25
  • @Markus von Broady I found that the original vertex group data will be lost if other geometric data are added to the join geometric nodes to merge and output, which may be the original. – F91 May 16 '23 at 08:40

0 Answers0