Download

how to get lighting from hdri map?

hello
one sphere with inverted normals and covered whole scene. sphere have hdri texture in emissive color channel.
why the sphere doesn’t give light after build lighting?

One possible reason this might not be working for you: make sure you have the ‘Sky Distance Threshold’ on your SkyLight set to something lower than the size of your mesh (it’s in the properties of the SkyLight under ‘Light’).

The default value for this number is quite high (150,000) and so if your mesh is smaller than that threshold, then it won’t be considered as part of the lighting calculation.

So for example, if your sphere hdri mesh is 1000 units/metres wide, then you need to set the Sky Distance Threshold to less than 1000.

Make sure you have enabled “Use Emissive for Static Lightning” for that mesh.

Don’t use a giant sphere in the scene. Use a skylight with the cubemap.

@ZacD: what’s the issue with using a giant sphere?

Using a giant sphere isn’t the intended way of lighting a scene. The quality from Use Emissive for Static Lightning isn’t very high.

Ah, thanks!

SkyLight with SLS captured scene can be used for same quality.

Make sure the shadow casting for the sphere is turned OFF , or as mentioned emissive only which defaults to no shadows. Use the Sphere for the background image, but not the lighting. Drag a skylight into the scene, and right away it will start looking much better. Then you can map the skylight with an HDR, and go from there. OR use the same image as the background image on the sphere as your Skylight map.

thanks for answers.
workflow with skylight + hdri at sls specified cube map slot don’t work well. shadows pretty poor and dont precise like with same hdri with corona render or vray in the 3ds max.
so how i can get similar pricese shadows and lighting from hdri map like vray or corona render in UE? or it impossible?

corona render hdri(environment slot)
49531e00cffe1ec8a505cec6065e7479ddad530e.jpeg

ue4 same hdri(skylight SLS) after build light
c1dfb98e5843e65eca2160cba9c0be397bd1e0b4.jpeg

aslo this simple UE4 project: dropmefiles . com/X40L0

My version. UE4: Sky light + HDRI + direct light

44524587c3cc0b38f668e0c21067d5bc6cee6c09.jpeg

coloss85, is your skylight casting shadows?

UE4 Forest Light
2684c1c0897046452a62a850fb04ca1953300ecd.jpeg

I suppose it’s just a Sun with some rotate tweaking

Wait… so to use a hdri all u have to do is put it in the skylight and set to sls cube?