BabylonNative icon indicating copy to clipboard operation
BabylonNative copied to clipboard

Cubemap rendering

Open CedricGuillemet opened this issue 4 years ago • 4 comments

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.

CedricGuillemet avatar Jun 28 '21 15:06 CedricGuillemet

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

bghgary avatar Jun 29 '21 17:06 bghgary

@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 avatar Jun 29 '21 17:06 CedricGuillemet

@CedricGuillemet this fixes #398 right?

ryantrem avatar Jul 09 '21 17:07 ryantrem

@ryantrem yes

CedricGuillemet avatar Jul 09 '21 17:07 CedricGuillemet

Closing.

CedricGuillemet avatar Oct 27 '22 07:10 CedricGuillemet