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

Examples: Clean up. #19625

Merged
merged 1 commit into from
Jun 11, 2020
Merged

Examples: Clean up. #19625

merged 1 commit into from
Jun 11, 2020

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jun 11, 2020

Certain extension tests like in webgl_buffergeometry_instancing have to be changed since they don't work with WebGL 2 (the extensions exists by default).

The PR also fixes remaining ACES Filmic tone mapping settings and the shader compilation error in BlurNode.

@@ -169,7 +169,7 @@
renderer.setSize( window.innerWidth, window.innerHeight );
container.appendChild( renderer.domElement );

if ( renderer.extensions.get( 'ANGLE_instanced_arrays' ) === null ) {
if ( renderer.capabilities.isWebGL2 === false && renderer.extensions.get( 'ANGLE_instanced_arrays' ) === null ) {
Copy link
Collaborator Author

@Mugen87 Mugen87 Jun 11, 2020

Choose a reason for hiding this comment

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

I personally think it's better for compatibility to add renderer.capabilities.isWebGL2 === false instead of completely removing the extension checks like in 152a185.

@mrdoob Would you still like to remove these sections?

Copy link
Owner

Choose a reason for hiding this comment

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

Yes, I think you're right. Better to keep them, I was being too lazy yesterday 😅

@mrdoob mrdoob added this to the r118 milestone Jun 11, 2020
@mrdoob mrdoob merged commit 71928fb into mrdoob:dev Jun 11, 2020
@mrdoob
Copy link
Owner

mrdoob commented Jun 11, 2020

Thanks!

@WestLangley
Copy link
Collaborator

You have to re-make screen shots. Otherwise, unrelated PRs by others fail CI tests.

CI is becoming a pain...

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Jun 12, 2020

I've actually updated the screenshots in the PR. The last broken example that currently makes trouble is webgl_loader_gltf because RoughnessMipmapper has issues with WebGL 2 (see #19620 (comment)).

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.

None yet

3 participants