BabylonNative
BabylonNative copied to clipboard
Cubemap rendering
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 https://github.com/BabylonJS/Babylon.js/pull/10581 is in a new NPM.
There are build failures. @syntheticmagus How does this change jive with your changes?
@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 this fixes #398 right?
@ryantrem yes
Closing.