Blax Posted October 22, 2018 Share Posted October 22, 2018 Greetings, BJS guru's!!! I need get right direction on yours experiens Task: we have scene with many different medium and small static objects on few objects (as table with glasses, books, notepads and etc... or city site with houses, pillars, cars and so on). And we wanna looking good shadows for this objects. First way: Render lightmaps for every objects in Blender and get heavy-metal loading time for scene, but fast rendering on weakly devices. And big headache, if some objects needs moving (new render lightmap and ...jump to start). Second way: Use babylonjs shadowgenetator's (PercentageCloserFiltering make very beauty shadows) with risk get slow render (oh where's my liked 60fps!?) :)) But for this task we have static objects... Perhaps Babylon can cache or generate lightmaps only once? Or this is the case for objects with freezeWorldMatrix flag? Or we need someways control this process? Or some otherwise? Or what? ) Please tell your's advice and sorry for language in message ) Quote Link to comment Share on other sites More sharing options...
Guest Posted October 23, 2018 Share Posted October 23, 2018 Hello! we can generate shadowMaps only when you want so this seems the best option Example: https://www.babylonjs-playground.com/#8NWA0U#8 (See line #25) Blax 1 Quote Link to comment Share on other sites More sharing options...
Blax Posted October 23, 2018 Author Share Posted October 23, 2018 YES!!! This is what was needed!!! Thank you very much!!! GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.