Jump to content

"Pre-bake" shadows?


Recommended Posts


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).

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...