Shadows seem to only work at certain angles

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Post Reply
rzyua
Posts: 1
Joined: 30 Jan 2020, 13:31

Shadows seem to only work at certain angles

Post by rzyua »

I compiled OpenMW from the master branch (newest revision at time of writing - 2652b10b9) with the patched OSG from the same repo (revision ecedf3232) and enabled shadows (config below) but they seem to only work at certain camera angles. Here are two videos showing what I mean:

https://www.youtube.com/watch?v=7SjgmfMiy_k

This is with only Actor and Player shadows enabled:

https://www.youtube.com/watch?v=Ko06pKADdmI

All data files come from a vanilla GOG installation.
Has anyone experienced anything like this before?

Update: This only seems to happen when compiling against openscenegraph from https://github.com/OpenMW/osg, when I use headers and binaries from the Arch repos everything works correctly.

My specs and config:
Arch Linux with kernel 5.4.15
NVIDIA GTX 1660
AMD Ryzen 5 2600
16 GB of RAM
GCC version used: 9.2.0

settings.cfg:

Code: Select all

[Shadows]
actor shadows = true
enable shadows = true
object shadows = false
player shadows = true
shadow map resolution = 4096
terrain shadows = false

[Video]
antialiasing = 4
fullscreen = true
resolution x = 1920
resolution y = 1080
vsync = true

[General]
anisotropy = 16

[Input]
always run = true

[Water]
reflection detail = 4
refraction = true
rtt size = 2048
shader = true
User avatar
AnyOldName3
Posts: 2666
Joined: 26 Nov 2015, 03:25

Re: Shadows seem to only work at certain angles

Post by AnyOldName3 »

I'm guessing you used the master branch of openmw/osg. Master-branch OSG has a bazillion backwards-compatibility issues. 0.45 releases were done with the 3.4 branch, and 0.46 will probably use the 3.4-experimental branch, or something based on it. Those two are where the OpenMW-specific changes live.
Post Reply