Skip to content

Conversation

@elalish
Copy link
Contributor

@elalish elalish commented Oct 21, 2019

In using Three's shadows in <model-viewer>, I found some issues with the TS signature of updateMatrices, which I've resolved here. I also updated the docs to represent that it's really best to leave radius at 1 when using PCFSoftShadowMap, as that completely avoids banding and actually does a pretty nice job when the resolution is reduced (I'm liking 64x64 personally, assuming the shadowMap roughly fills the viewport).

@Mugen87
Copy link
Collaborator

Mugen87 commented Oct 22, 2019

This is really nice clean up! Made a few tests on my local computer and everything works fine.

@Mugen87 Mugen87 added this to the r110 milestone Oct 22, 2019
@Mugen87 Mugen87 merged commit ad172b8 into mrdoob:dev Oct 23, 2019
@Mugen87
Copy link
Collaborator

Mugen87 commented Oct 23, 2019

Updated builds: 04e23e0

@elalish elalish deleted the shadowDocs branch October 23, 2019 15:40
@mrdoob
Copy link
Owner

mrdoob commented Oct 23, 2019

Thanks!

@mrdoob
Copy link
Owner

mrdoob commented Oct 23, 2019

FYI @supereggbert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants