Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further prefilter fixes #2528

Merged
merged 1 commit into from
Nov 4, 2020
Merged

Conversation

slimbuck
Copy link
Member

@slimbuck slimbuck commented Nov 4, 2020

Follow on from #2522 :

Use a slower but better quality basis creation and normalise vector correctly.

@slimbuck slimbuck added the bug label Nov 4, 2020
@slimbuck slimbuck requested a review from a team November 4, 2020 16:42
@slimbuck slimbuck self-assigned this Nov 4, 2020
@@ -167,6 +167,12 @@ mat3 matrixFromVector(vec3 n) { // frisvad
return mat3(b1, b2, n);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this now unused? Any reason not to delete it and make matrixFromVectorSlow into matrixFromVector?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to keep it around for more accurate performance testing, but ultimately if we don't expose both as user options it can be removed.

@slimbuck slimbuck merged commit adf7ddb into playcanvas:master Nov 4, 2020
@slimbuck slimbuck deleted the prefilter-updates branch November 4, 2020 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants