Home Unreal Engine

Directional light attached custom mask from other material

polycounter lvl 10
Offline / Send Message
JGreentheRookie polycounter lvl 10
Can I let a mask follow a directional light

for instance i build a mask that blends between city night lights on a planet and day time. now i want the directional shadow light to follow my mask.

meaning if i change the directional light the mask follows.

any input would be great.

Replies

  • Obscura
    Offline / Send Message
    Obscura grand marshal polycounter
    I think it can't be done only with material, cause you don't have access to the light vector. But you can make a blueprint, and there you can measure the light's rotation, and adjust the mask position based on it.
Sign In or Register to comment.