max123 Posted November 8, 2016 Share Posted November 8, 2016 Hi, I wonder if it's possible at all to pre-bake shadows at runtime? I've got a scene that is generated by users. Position of items is thus unknown. I'd like to cast shadows from these items, but it's too costly CPU-wise. It would be really cool if one was able to run something like BABYLON.bakeGroundShadows(objectsList) which would create texture on the fly for the ground mesh (I'm aware that baking and creating textures for all meshes can max out GPU memory). Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.