Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Blog: " Tech feature: Sunlight with Shadows"
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#1
Blog: " Tech feature: Sunlight with Shadows"

Some info on the engine's newly added sunlight!

http://frictionalgames.blogspot.com/2010...adows.html
10-13-2010, 05:57 PM
Find
Sexbad Offline
Posting Freak

Posts: 1,197
Threads: 40
Joined: Jun 2009
Reputation: 18
#2
RE: Blog: " Tech feature: Sunlight with Shadows"

A very nice addition and I look forward to seeing what outdoor environments look like. I'd suggest, though, that you make the shadows more precise. They're very blurry, and kind of ugly.

[Image: jao3z.jpg]
10-13-2010, 06:35 PM
Website Find
nofsky Offline
Senior Member

Posts: 423
Threads: 13
Joined: Sep 2008
Reputation: 1
#3
RE: Blog: " Tech feature: Sunlight with Shadows"

The shadows in the final image looks a little strange in the back, like some parts are missing. But that's because the model is open on the back side, right?

Anyway, I think it looks good. The shadows look a little too blurry for coming from direct sunlight though, do you plan on making that changeable? Or perhaps the shadow map resolution is too small for that to look good? It would be interesting to see how it looks on a more complex object.

Oh, and you're gonna add SSAO on top of everything too? That's a lot of shadows! Tongue

Good luck with that Light Pre-Pass Renderer. It's a faster way of rendering lights, it seems, unless my google-fu is very weak today Smile
10-13-2010, 10:05 PM
Find
Sexbad Offline
Posting Freak

Posts: 1,197
Threads: 40
Joined: Jun 2009
Reputation: 18
#4
RE: Blog: " Tech feature: Sunlight with Shadows"

Also bring back motion blur.

[Image: jao3z.jpg]
10-13-2010, 10:22 PM
Website Find
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#5
RE: Blog: " Tech feature: Sunlight with Shadows"

Quote:The shadows in the final image looks a little strange in the back, like some parts are missing. But that's because the model is open on the back side, right?
Exactly! I was gonna write about it under the image but then thought nobody would notice Tongue

Regarding SSAO: It is already in (all features from HPL2 are), but it is not used in the images as I wanted to focus on the lighting at hand. I have added image of Ambient + SSAO so you can see how that looks Smile
(Compare to: http://3.bp.blogspot.com/_QfesHslH-uc/TL...mbient.jpg)

Motion Blur: Might come back. Hower, tt is not really a favorite filter of mine as it only really shows when you turn your head around and I rather use that gpu-time to do other stuff.


Attached Files
.jpg   ssao_n_amb1.jpg (Size: 223.32 KB / Downloads: 255)
10-13-2010, 10:44 PM
Find
WindexGlow Offline
Posting Freak

Posts: 1,108
Threads: 70
Joined: Mar 2007
Reputation: -5
#6
RE: Blog: " Tech feature: Sunlight with Shadows"

The thing I liked about the motion blur was that sources of light seemed to last longer than those that weren't lit (sun spots). I don't play a lot of games that have mm, but this was the first I saw something like it.

Please -REP me.
Honestly, please do. I want to see how low I can go!!
Ignore that error message too. Just ignore it and keep going to give me -rep.
10-13-2010, 11:32 PM
Find
shotalot Offline
Junior Member

Posts: 3
Threads: 0
Joined: Oct 2010
Reputation: 0
#7
RE: Blog: " Tech feature: Sunlight with Shadows"

Why not add full motion blur instead.

By using the opengl accumulation buffer http://www.codeproject.com/KB/openGL/MotionBlur.aspx

Or calculating vectors with the Depth Buffer http://http.developer.nvidia.com/GPUGems..._ch27.html
10-14-2010, 08:29 AM
Find
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#8
RE: Blog: " Tech feature: Sunlight with Shadows"

It would be very awesome if we'd get these updates too so we can use them in the tools you gave us :O


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
10-15-2010, 12:25 PM
Find
hollowleviathan Offline
Posting Freak

Posts: 863
Threads: 2
Joined: Oct 2010
Reputation: 2
#9
RE: Blog: " Tech feature: Sunlight with Shadows"

Definitely they'll be included...in the HPL3 editor in 2 years with the next game.
10-15-2010, 09:25 PM
Find
rini Offline
Junior Member

Posts: 13
Threads: 1
Joined: Jul 2010
Reputation: 0
#10
RE: Blog: " Tech feature: Sunlight with Shadows"

What are Hardware Requirements for HPL3? Double higher than Amnesia? Triple higher?

Amnesia's engine on startup check for Shadermodel 4 avaibility. From hpl.log:
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 1

Will HPL3 use Shaders 4?
10-16-2010, 11:28 PM
Find




Users browsing this thread: 1 Guest(s)