Jump to content

ShadowGenerator render manually and don't update


KevinBLT
 Share

Recommended Posts

Hello everyone,

 

I'm back again with a question.

I have a scene (see screenshot below) that is static after the construction has finished.

I want to render shadow once after the construction. I tried "renderTargets" off. But the shadow sometimes disappears.

 

I would need something like a shadowgenerator manual mode.

So like "calculateShadow" and then it keeps this shadow map until the next "calculateShadow" call.

 

Is there something like that or an easy way to achieve that?

I think this is something useful for other users too.

 

 

Have a nice day,

 

Kevin

post-14468-0-98593300-1438948953_thumb.j

Link to comment
Share on other sites

The Mesh changes.

But only if you change the settings of the construction.

Then all the bar positions get recalculated.

 

But between then and the next change nothing happens to the view, except the camera angle/zoom.

So these "buildings" have neither seen blender in any time nor will they see it in the future. 

It's completely build out of "BABYLON.Mesh.CreateBox" and CSG subtractions.

 

I hope it's a bit clearer now.

Link to comment
Share on other sites

  • 4 weeks later...

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.

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

Loading...
 Share

  • Recently Browsing   0 members

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