Frictional Games Forum (read-only)

Full Version: directional light
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
any chance of releasing patch with directional light for modders? i bet it would be helpful as currently people have no chance of making anything different than tight corridors and dungeons or outdoors in the night Smile greetz!
Yea, spotlight is a directional light.
Well, if you think about it, they're only going to release the resources used in Amnesia.
(05-14-2011, 01:07 AM)MrBigzy Wrote: [ -> ]Yea, spotlight is a directional light.

well, it's not quite directional in the way i mean. and i mean directional light such as sunlight where we don't have single point light source, just parallel rays. spotlight here is just like pointlight, the only difference is limited angle and shadow casting. besides using spotlight as sun gives really poor results as increasing the distance from light to object results in progressively worse shadow calculation.
Use a wide FOV spotlight with a large radius placed very far away from your scene. make the near-clip plane relatively close to your FOV but not so much that it clips off some of your scene. The farther away you place this spotlight the more it will seem like there is no single source point of light. That's about as close to the type of light you're speaking of as you can get :S
(05-14-2011, 06:45 AM)palistov Wrote: [ -> ]Use a wide FOV spotlight with a large radius placed very far away from your scene. make the near-clip plane relatively close to your FOV but not so much that it clips off some of your scene. The farther away you place this spotlight the more it will seem like there is no single source point of light. That's about as close to the type of light you're speaking of as you can get :S

believe me, i've already tried with such technique as i had described earlier but the light being placed far it produces artifacts (giant black triangle) and shadows turn into unreadable squares Smile thus this is no option unfortunately. i have some experience in mapping using unreal engine thus lights are not a secret for me Smile
The engine simply wasn't designed for Global Ilumination like in Unreal.
(05-14-2011, 08:56 AM)DamnNoHtml Wrote: [ -> ]The engine simply wasn't designed for Global Ilumination like in Unreal.

i know that frictional optimised their game rather for indoors and realtime lighting. full GI is be beyond the reach here without lightmaps but still directional light would be a nice addition Big Grin maybe a creator could peek here? Smile guys, please, assist XD