Frictional Games Forum (read-only)
directional light - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: directional light (/thread-7980.html)



directional light - jammer64 - 05-14-2011

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!


RE: directional light - MrBigzy - 05-14-2011

Yea, spotlight is a directional light.


RE: directional light - Russ Money - 05-14-2011

Well, if you think about it, they're only going to release the resources used in Amnesia.


RE: directional light - jammer64 - 05-14-2011

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


RE: directional light - palistov - 05-14-2011

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


RE: directional light - jammer64 - 05-14-2011

(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


RE: directional light - DamnNoHtml - 05-14-2011

The engine simply wasn't designed for Global Ilumination like in Unreal.


RE: directional light - jammer64 - 05-14-2011

(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