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

Cubemap rendering #816

Closed

Conversation

CedricGuillemet
Copy link
Contributor

@CedricGuillemet CedricGuillemet commented Jun 28, 2021

For use with pointlight shadows.
Also fixes invertY for RTT and cubemap loading.

FrameBuffer can refer to a 2D Framebuffer or it can holds 6 framebuffers for cubemap. A boolean propery m_cubeFrameBuffer is used to determine its nature.

This PR will be updated once BabylonJS/Babylon.js#10581 is in a new NPM.

@bghgary
Copy link
Contributor

bghgary commented Jun 29, 2021

There are build failures. @syntheticmagus How does this change jive with your changes?

@CedricGuillemet
Copy link
Contributor Author

@bghgary @syntheticmagus the shader manipulation part might be removed this week but the framebuffer will stay. Seting PR as draft until I get new BJS with shader flips by Alexis.

@CedricGuillemet CedricGuillemet marked this pull request as draft June 29, 2021 17:29
@ryantrem
Copy link
Member

ryantrem commented Jul 9, 2021

@CedricGuillemet this fixes #398 right?

@CedricGuillemet
Copy link
Contributor Author

@ryantrem yes

@thomlucc thomlucc added Future and removed Future labels Sep 23, 2022
@CedricGuillemet
Copy link
Contributor Author

Closing.

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

5 participants