Using blue print in the material (light function) to extract the spotlight location and change the materiel (light function) as a function of the spotlight position.
Announcement
Collapse
No announcement yet.
How to get the spotlight location from the material used in the light function
Collapse
X
-
Originally posted by jc_jyg View PostI have a spotlight component with light function, the light function is implemented by material as shown in the attached image. I plan to add a node that can get the position of the spotlight.
Comment
Comment