[art] Optimizing terrain shadows

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

[art] Optimizing terrain shadows

Post by lgromanowski » 22 Dec 2016, 14:26

maybe it could be helpful:

best regards,

User avatar
Posts: 1252
Joined: 26 Nov 2015, 03:25

Re: [art] Optimizing terrain shadows

Post by AnyOldName3 » 23 Dec 2016, 01:54

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.
AnyOldName3, Master of Shadows

Posts: 127
Joined: 10 Jan 2016, 00:13

Re: [art] Optimizing terrain shadows

Post by CMAugust » 23 Dec 2016, 05:19

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

Who is online

Users browsing this forum: No registered users and 4 guests