-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Encoding cleanup #4405
Encoding cleanup #4405
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice refactor - cool!
@@ -0,0 +1,23 @@ | |||
export default /* glsl */` | |||
// the envAtlas is fixed at 512 pixels. every equirect is generated with 1 pixel boundary. | |||
const float atlasSize = 512.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not related to this PR, but don't we handle larger atlases now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do, but actually still layout them out as if they were 512.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great. any problem with changed options - I suspect the old options would not be commonly used?
The StandardMaterialOptionsBuilder options? They should never be stored offline, completely dynamic. It may be that some users are doing things based on these, but I should hope not! |
This PR:
texture2DRGBM
shader functions