0

is there any way to use a light source' position/direction as a control for "Texture Coordinate" in the node editor? (in cycles)

So that when I move the light source around it adjusts the coordinates of the texture.

FredLierman
  • 497
  • 1
  • 5
  • 17
  • 2
    Texture Coordinates node has Object coordinates and a field where you can specify which object to use for mapping, so try pointing the node to the light source and using Object socket output – Mr Zak Nov 24 '17 at 16:26
  • On the receiving object you can add a UVproject modifier and use a lamp (or any other object, even an empty) to project an image on the texture. Or if you are looking for a way to use the lamp as a video projector see https://blender.stackexchange.com/questions/57013/correct-vector-input-to-map-texture-light-in-cycles and https://blender.stackexchange.com/questions/62665/avoid-distortions-when-creating-projector-effect –  Nov 24 '17 at 20:23

0 Answers0