Skip to content

Porting AccumulativeShadows to Angular, the scene does not look right #1217

Answered by nartc
nartc asked this question in Q&A
Discussion options

You must be logged in to vote

It seems to work now. There are a couple of problems:
  • Suzanne model wasn't part of the Scene at the time ProgressiveLightMap calls reset(). This is due to how Angular renders with Async operations.
  • DirectionalLight position was incorrectly computed in update()

After fixing the above issues, the Scene does look correct. The color (goldenrod) does seem off. If anyone has any suggestion regarding the Color space, please let me know.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nartc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant