Jump to content

Static


bALLZNPLAY
 Share

Recommended Posts

Looking for a way in the editor to set a point or spot lights shadow to static..  also can these be baked with probes like leadwerks does?

I'm only a level designer so I don't mess with code.   I make maps for a coder on our team.

Link to comment
Share on other sites

There's a checkbox in the Appearance options. Static lights will use one shadow map for all static objects, and another for dynamic objects. This can greatly reduce the amount of shadow polygons that have to be drawn when an object moves:
https://www.ultraengine.com/learn/Entity_Staticize

API_Entity_MakeStatic.gif

In that example, only the spinning fan has to be drawn when the shadow is updated each frame. The rest of the scene is just copied from the static shadow map. id Tech does something similar to this, I think.

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

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.

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.

 Share

×
×
  • Create New...