How to achieve real time lighting (similar to this...)

Anyone know how to get lighting similar to this inside Notch?

I’ve tried directional but that requires rays which eats FPS, and i don’t really want to bake the lighting (as I’ll probably rotate the light).

Any tips would be appreciated!

I believe these kinds of shadows are done with cascading shadow maps and custom skylight systems - we don’t have support for this at present.

Closest you could get without enabling raytracing would be a distant spotlight with a narrow cone angle and high res shadow map. Then some ambient lighting and fog to fill in the rest of the lighting.


Here is what I got with a little bit of effort.

One other thing to note, if nothing in your scene is moving (aside from lighting), you can disable dynamic in the root to significantly increase Raytracing performance.

– Ryan

2 Likes

Awesome! Thanks Ryan!