Opened 6 years ago

Closed 12 months ago

Last modified 12 months ago

#4884 closed defect (worksforme)

Shadows totally displaced

Reported by: Imarok Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Vladislav Belov, wraitii Patch:

Description

Sometimes the shadows are totally displaced. The displacement vector depends on the viewing angle. Observed in A22. https://i.imgur.com/RTj8iRQ.jpg https://i.imgur.com/RY81Sm1.jpg

Change History (9)

comment:1 by Imarok, 6 years ago

Cc: Vladislav Belov added; Vladislav Belov removed

comment:2 by elexis, 6 years ago

Are you sure that the shadows are at mathmatically incorrect positions? To me it only looks like the sun elevation on these maps is so low that the shadows are close to horizontal. Also consider there are elevation differences as seen on the screenshots.

comment:3 by elexis, 6 years ago

The displacement vector depends on the viewing angle

Shadows for some reason move with the angle. You can see it in the alpha 22 trailer in the relic scene IIRC.

comment:4 by Vladislav Belov, 6 years ago

Can you reproduce it always or it's random? The problem with shadows may come from low free GPU memory. Next time when it'll happen, could you set the shadow quality to Low/Very Low, then turn off and turn on shadows without reloading?

Also how is it appearing? At the moment or they start differ slowly?

Last edited 6 years ago by Vladislav Belov (previous) (diff)

in reply to:  2 comment:5 by Imarok, 6 years ago

Replying to elexis:

Are you sure that the shadows are at mathmatically incorrect positions? To me it only looks like the sun elevation on these maps is so low that the shadows are close to horizontal. Also consider there are elevation differences as seen on the screenshots.

The shadows are totally displaced. It looks like the shadow map of the whole map is taken scaled rotated and translated with some random numbers depending on the viewing angle. Replying to Vladislav Belov:

Can you reproduce it always or it's random? The problem with shadows may come from low free GPU memory. Next time when it'll happen, could you set the shadow quality to Low/Very Low, then turn off and turn on shadows without reloading?

Unfortunately just random. Will try your tip when experiencing it again.

Also how is it appearing? At the moment or they start differ slowly?

It just comes at some moment.

comment:6 by Vladislav Belov, 5 years ago

Are you still able to reproduce it? Did you try my tip?

in reply to:  6 comment:7 by Imarok, 5 years ago

Replying to Vladislav Belov:

Are you still able to reproduce it? Did you try my tip?

Didn't happen again iirc.

I guess this issue happened on Windows and I switched to Linux at some point.

comment:8 by Vladislav Belov, 12 months ago

Milestone: BacklogAlpha 27
Resolution: worksforme
Status: newclosed

That kind of problem might mean an OOM or a driver bug. Since we don't have any other reproduce nor a similar report I'm closing the ticket.

comment:9 by Itms, 12 months ago

Milestone: Alpha 27
Note: See TracTickets for help on using tickets.