Skip to content

fix capture for float type framebuffers#276

Merged
sebavan merged 1 commit intoBabylonJS:masterfrom
Inuniku:fix/get-capture-for-float-framebuffer
Aug 23, 2023
Merged

fix capture for float type framebuffers#276
sebavan merged 1 commit intoBabylonJS:masterfrom
Inuniku:fix/get-capture-for-float-framebuffer

Conversation

@Inuniku
Copy link
Copy Markdown

@Inuniku Inuniku commented Aug 11, 2023

Framebuffers of float type generate this warning:

[.WebGL-xxx] GL_INVALID_OPERATION: Invalid format and type combination.

And therefore generate no preview:
image

Copy link
Copy Markdown
Member

@sebavan sebavan left a comment

Choose a reason for hiding this comment

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

thanks for the fix, can you revert the changes within the js files and only keep the ts one ?

@Inuniku Inuniku force-pushed the fix/get-capture-for-float-framebuffer branch from e02551b to 9aef187 Compare August 17, 2023 14:03
@Inuniku
Copy link
Copy Markdown
Author

Inuniku commented Aug 17, 2023

oh, okay!
I updated the PR-branch.

@sebavan sebavan merged commit bac9e97 into BabylonJS:master Aug 23, 2023
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