[art] Optimizing terrain shadows

Everything about development and the OpenMW source code.
Post Reply
User avatar
lgromanowski
Site Admin
Posts: 1193
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Contact:

[art] Optimizing terrain shadows

Post by lgromanowski »

Hi,
maybe it could be helpful:

http://gpuopen.com/optimizing-terrain-shadows/
User avatar
AnyOldName3
Posts: 2676
Joined: 26 Nov 2015, 03:25

Re: [art] Optimizing terrain shadows

Post by AnyOldName3 »

IIRC, Morrowind doesn't have directional daylight, so every face of the terrain is facing away from 'the sun', preventing this optimisation. It won't help with regular OpenMW, but if we have an optional overhauled renderer (e.g. something using PBR shaders, IBL and realistic light sources) this could be applied then.
CMAugust
Posts: 285
Joined: 10 Jan 2016, 00:13

Re: [art] Optimizing terrain shadows

Post by CMAugust »

Vanilla Morrowind's shadow implementation, though limited and primitive, did correctly follow the direction of the sun.

Cool article. This could be very relevant when OpenMW begins implementing both dynamic shadows and distant land. And that date might not be too far off.
Post Reply