Jump to content


Frictional Reveals New Feature From Upcoming Game Engine


  • Please log in to reply
10 replies to this topic

#1 IMG News

IMG News

    Pimpbot 4000

  • IMG Writers
  • 8622 posts
  • Pro Member:Yes

Posted 14 October 2010 - 06:03 AM

Frictional Games has added a new blog post featuring information about HPI3, the engine powering an unnamed upcoming project. The article examines the inclusion of global sunlight and its associated shadows, a feature which will be important in Frictional's next game.

To get nice ambient lighting what you need to do is to somehow simulate global illumination. Light does not just hit an object and then stop, but bounces around and scatters color from nearby on each other. There is a lot of research into this and most of it require one to pre-calculate the result in one way or another.

I settled with something really simple called hemispherical lighting, which basically means to have separate up and down (sky and ground) colors and then blend them depending on the normal of the surface. My first idea was to use cubemaps to do something similar, but since the cubemap needs to be very blurred, using hemispherical lighting gave pretty much the same result and is a lot faster.

Next up was the direct lighting from the sun and this was quite simple. I could just add some tweak to the existing shaders and make it work. Basically sunlight is just like normal light but without any position or attenuation. This means every pixel is lit from the same direction and strength is independent of distance to the source (as it does not have a position.
Click over to the link below which includes a variety of screenshots.
Return to Full Article - InsideMacGames News


#2 Sargiel

Sargiel

    Legendary

  • Members
  • PipPipPipPipPip
  • 909 posts
  • Location:West Sussex, England

Posted 14 October 2010 - 06:16 AM

I'm really keen to see what more will come from the guys at Frictional! Nice to see the development work coming along nicely and also hope to get another Amnesia sales update a few months down the line.

#3 Eric5h5

Eric5h5

    Minion Tormentor

  • Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 7160 posts

Posted 14 October 2010 - 08:15 AM

Sunlight in a Frictional game?!  That can't be right....

--Eric

#4 Sargiel

Sargiel

    Legendary

  • Members
  • PipPipPipPipPip
  • 909 posts
  • Location:West Sussex, England

Posted 14 October 2010 - 12:50 PM

Maybe they're working on a larger scale - before they apply the new lighting effects to the candle your character will be holding just before it splutters out as you hear something terrible approaching :D

#5 Janichsan

Janichsan

    Jugger Bugger

  • Forum Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 8246 posts
  • Steam Name:Janichsan
  • Location:over there

Posted 14 October 2010 - 01:31 PM

The Great Cthulhu is also frightening for the unbelievers in broad daylight.

"We do what we must, because we can."
"Gaming on a Mac is like women on the internet." — "Highly common and totally awesome?"


#6 Sargiel

Sargiel

    Legendary

  • Members
  • PipPipPipPipPip
  • 909 posts
  • Location:West Sussex, England

Posted 14 October 2010 - 01:40 PM

Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn!

#7 Eric5h5

Eric5h5

    Minion Tormentor

  • Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 7160 posts

Posted 14 October 2010 - 02:35 PM

View PostJanichsan, on 14 October 2010 - 01:31 PM, said:

The Great Cthulhu is also frightening for the unbelievers in broad daylight.

Nah, in strong light you can clearly see it's just a fat guy in a rubber monster suit.

--Eric

#8 Mister Mumbles

Mister Mumbles

    Uberspewer

  • Members
  • PipPipPipPipPipPipPip
  • 2511 posts
  • Location:Not here; not there; not anywhere!

Posted 14 October 2010 - 03:30 PM

Which is scary enough as it is. ;)
Formerly known as a Mac gamer.

#9 the Battle Cat

the Battle Cat

    Carnage Served Raw

  • Admin
  • 17567 posts
  • Location:Citadel City, Lh'owon
  • Pro Member:Yes

Posted 14 October 2010 - 06:28 PM

View PostEric5h5, on 14 October 2010 - 02:35 PM, said:

Nah, in strong light you can clearly see it's just a fat guy in a rubber monster suit.

--Eric
Actually it's Eric in his gimp suit after waking up in the morning on the floor of the Happy Buns Club and scampering home to his parent's basement.
Gary Simmons
the Battle Cat

#10 Eric5h5

Eric5h5

    Minion Tormentor

  • Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 7160 posts

Posted 14 October 2010 - 10:29 PM

Dude, you gotta stop projecting your fantasies onto me.  It's icky.  (It would make a good Frictional game though..."Descent into the Darkness of tBC's Mind."  Not sure anyone would be able to get to the end....)

--Eric

#11 the Battle Cat

the Battle Cat

    Carnage Served Raw

  • Admin
  • 17567 posts
  • Location:Citadel City, Lh'owon
  • Pro Member:Yes

Posted 15 October 2010 - 08:04 AM

It's bottomless.  For that matter it's topless too.
Gary Simmons
the Battle Cat