Ligth vector materail setup

Hi All,

I’m reconstruction a UDK material to unreal 4, but i’m having some problems setting up a Light vector.
It giving me some error. Does anybody know how to solve this? Also does my Environment setup look
ok?

Thanks
decor

There is no light vector available due to the deferred rendering pipeline.
In a level with only one directional light you could get the world space light vector via blueprints and pass this value to a material parameter.
You could also do something similar with a single point light but once you have multiple light sources things would get very complicated.

Having said that your reflection vector won’t work this way, you can just leave the input empty.