Cycles: make light UV available for Texture Coordinate node #108691

Merged
Weizhen Huang merged 1 commits from weizhen/blender:light_texture_default into main 2023-06-07 12:31:42 +02:00

1 Commits

Author SHA1 Message Date
Weizhen Huang 75b1ed94f6 Cycles: make light UV available for Texture Coordinate node
The input socket of Image Texture node is connected with the UV output
of Texture Coordinate node by default, the later reads the geometry UV,
which is not available for lights because they have no real geometry.
The current implementation simply retrieves UV from shader data.
2023-06-07 10:34:05 +02:00