I’d like to set a lightvector dynamically, based on a direction of a directional light (in StylizedRendering it’s DirectionalLightStationary). How do I do that?
I tried setting it to the getActorLocation of the directional light, but it clearly doesn’t work ~_~
Right click on an image -> view image - you’ll be able to see it in 1:1. If that’s not enough: press ctrl and +
But keep in mind that it’s only showing how light vector is being used - I’m looking to find a way to set the light vector based on a directional light.
Thanks but im aware of that, doesn’t change the fact the image is only 180x100px so still can’t see anything.
You should be able to set it based on the actual rotational value of the light, not the location of it since that wont give you anything useful for a directional light since its designed to come from infinite space