Blockland Forums > Suggestions & Requests
Shadow Volumes
<< < (2/2)
Dexxtter:
would it be less intensive
Parallax:

--- Quote from: Dexxtter on January 09, 2014, 02:26:29 AM ---would it be less intensive

--- End quote ---
I think so.
I mean Thief: Deadly Shadows and Deus Ex: Invisible War have shadow volumes and these games came out in 2003-2004, and Doom 3 came out in 2004.
Crispy_:
But Blockland has to be able to render 200000+ objects, including vehicles and players. Those games likely only have to render 100 max, including objects that never move.
Parallax:

--- Quote from: Crispy_ on January 09, 2014, 06:10:02 AM ---But Blockland has to be able to render 200000+ objects, including vehicles and players. Those games likely only have to render 100 max, including objects that never move.

--- End quote ---
I know, non-moving objects like bricks could be marked as static so any dynamic shadow being casted by it will not recalculate it's position even though it's not moving.

Objects that enter the shadow (like Players) will cause recalculation.

Perhaps players could tag bricks as static, too. Great for stuff like furniture.

Better Idea
Lights could receive these tags, instead.
A shadow volume light tagged as static will not update, a shadow volume light tagged as dynamic will not update unless something moving enters it's light, a shadow volume light tagged as always update will update every frame.
Maybe there could even be smart lights that stop updating when they stop moving, like a lightbulb swinging around.


Combine both the ability to tag bricks and lights, and people could really customize.

Maybe people can control the lights like in the environment window.
Navigation
Message Index
Previous page

Go to full version