Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Shadows out of sync #299

Closed
161563 opened this issue May 14, 2019 · 1 comment
Closed

Shadows out of sync #299

161563 opened this issue May 14, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@161563
Copy link
Contributor

161563 commented May 14, 2019

Describe the bug
When moving objects the shadows will not move at the same pace as the objects, with the shadows acting as if the object shading them is already at a specific position while in reality it hasn't reached the position in question yet.

To Reproduce
Steps to reproduce the behaviour:

  1. Load the emibl scene
  2. Enable shadows, and make sure you're outputting just the shadow buffer.
  3. Move an object around
  4. See error

Expected behaviour
The shadows should correctly follow the objects casting the shadows.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 1809
  • Hardware [e.g. CPU:6700HQ, GPU:GTX 970M, RAM:16GB]

Additional context
My personal guess is that the model matrix used by the deferred shader and the TLAS aren't the same, with the deferred shader using an outdated model matrix, or the TLAS using the model matrix of the next frame.

@161563 161563 added the bug Something isn't working label May 14, 2019
@161563
Copy link
Contributor Author

161563 commented Jun 24, 2019

Has been fixed, closing this.

@161563 161563 closed this as completed Jun 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant