Home Unreal Engine

Light vectors in shaders?

polycounter lvl 8
Offline / Send Message
Rooster128 polycounter lvl 8
Last time I saw with the change to differed lighting, piping in a light vector to a material aren't possible anymore. Am I correct here, or is there something I'm missing? Just wondering...

Replies

  • slayniac
    Options
    Offline / Send Message
    I don't think it's possible to directly access the light vector. We made a workaround by storing the (sun) light direction into a material parameter collection by blueprint. That way you can access it in any material.
Sign In or Register to comment.