About Store Forum Documentation Contact



Post Reply 
Shadowing problem
Author Message
mokh Offline
Member

Post: #1
Shadowing problem
Hi there,
I have a scene with lots of lights. My fps will hugely decrease when all of them are in the viewing range. I was wondering if there would be a way to solve this, games like Doom III had scenes like this. I don't know maybe ID Tech 4 uses Stencil shadowing but the problems is I don't need that much accuracy for my shadows though I had the same amount of fps when I changed the shadow mode to stencil. Decreasing the shadow map size didn't affect my fps either.
Can you show me a way to render such scenes efficiently ? ( all the settings I should set )
Scenes like a park in the night with too many lamps ( short range ) and without any occlusion.

Thanks in advance
(This post was last modified: 05-15-2011 01:44 PM by mokh.)
05-15-2011 01:41 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Shadowing problem
use shadows only for key lights (not all of them)
or
bake your shadows to lightmaps/textures
05-15-2011 01:45 PM
Find all posts by this user Quote this message in a reply
mokh Offline
Member

Post: #3
RE: Shadowing problem
Thank you for your quick response.
If I use the lightmap can I prevent those objects with lightmap from casting shadow only from static lights ?
and If I use lightmap, if a dynamic object, say the player, goes into a shadow, will it be affected by that, I mean will it look darker ?
(This post was last modified: 05-15-2011 01:51 PM by mokh.)
05-15-2011 01:49 PM
Find all posts by this user Quote this message in a reply
KevinGruber Offline
Member

Post: #4
RE: Shadowing problem
Sry for that kind offtopic question, how can you bake lightmaps in esenthel?
05-17-2011 08:43 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Shadowing problem
you must do it in external program
05-18-2011 07:23 PM
Find all posts by this user Quote this message in a reply
KevinGruber Offline
Member

Post: #6
RE: Shadowing problem
so for example, when a do a lightmap in 3ds max i can put it in esenthel?
two questions, first where do i have to put the resulting map and second
how do i get baked lightmaps for the terrain, i only can bake the lightmaps for single objects?
thx
05-19-2011 06:31 AM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #7
RE: Shadowing problem
You add the baked lightmap in photoshop as a multiply layer.
05-19-2011 10:24 PM
Find all posts by this user Quote this message in a reply
Driklyn Offline
Member

Post: #8
RE: Shadowing problem
There is a lightmap slot when creating materials. I assume that's what it's for, though I've never used it.
05-20-2011 12:41 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #9
RE: Shadowing problem
for the terrain you cant add lightmaps, so I recommend just disabling shadows for most lights.
05-22-2011 07:04 PM
Find all posts by this user Quote this message in a reply
Post Reply