Author Topic: Light area around wall flame torch  (Read 778 times)

Slasher

  • Posts: 2,726
  • slasher
    • I can help with AGS tutoring
    • Lifetime Achievement Award Winner
    • I can help with scripting
    • I can help with story design
    • Slasher worked on a game that was nominated for an AGS Award!
Light area around wall flame torch
« on: 28 Sep 2017, 06:14 »
Hi

I'm trying to better get into 'lighting'

How would you 'light' the area around this animating wall flame torch?



All appreciated.

Thanks

Too much clicking

  • Posts: 599
  • Not a bear. Un-bear-able, if you will.
Re: Light area around wall flame torch
« Reply #1 on: 28 Sep 2017, 07:02 »
You could put a flickering/moving translucent yellow circle behind the torch. That way you can still see the wall but tinted.

Slasher

  • Posts: 2,726
  • slasher
    • I can help with AGS tutoring
    • Lifetime Achievement Award Winner
    • I can help with scripting
    • I can help with story design
    • Slasher worked on a game that was nominated for an AGS Award!
Re: Light area around wall flame torch
« Reply #2 on: 28 Sep 2017, 09:08 »
Is kind of what you mean ClickClickClick?



Too much clicking

  • Posts: 599
  • Not a bear. Un-bear-able, if you will.
Re: Light area around wall flame torch
« Reply #3 on: 28 Sep 2017, 09:59 »
I think so, yes.

Jim Reed

  • Posts: 701
Re: Light area around wall flame torch
« Reply #4 on: 28 Sep 2017, 13:35 »
Due to the flames changing shape all the time, your circle of light should change its size and opacity to simulate the changing light condition on the background. Some games use multiple circles that overlap and similar effects to give it a bit more eye candy ( https://media.giphy.com/media/iNiRSkSJB1YwE/giphy.gif ). Older games had to draw the light effects on the wall by hand  ( https://i.imgur.com/2HyLqhX.png ) , most indie games use what you are using now and some games go so far to use normal mapping. ( http://blackseaodyssey.com/2015/07/29/using-normal-maps-to-create-lighting-for-2d-sprites/ )

EDIT: edited
« Last Edit: 28 Sep 2017, 14:22 by Jim Reed »

Slasher

  • Posts: 2,726
  • slasher
    • I can help with AGS tutoring
    • Lifetime Achievement Award Winner
    • I can help with scripting
    • I can help with story design
    • Slasher worked on a game that was nominated for an AGS Award!
Re: Light area around wall flame torch
« Reply #5 on: 28 Sep 2017, 13:54 »
Food for thought Jim (nod)

Jim Reed

  • Posts: 701
Re: Light area around wall flame torch
« Reply #6 on: 28 Sep 2017, 14:24 »
Do take care to not go overboard with the alpha chans, AGS is a bit of an older engine and your FPS might suffer depending on the situation.

Monsieur OUXX

  • Posts: 3,537
  • Mittens Half Initiate
    • I can help with proof reading
    • I can help with translating
    • I can help with voice acting
Re: Light area around wall flame torch
« Reply #7 on: 29 Sep 2017, 09:26 »
Three important things to make it look good :
1) the area must be VERY BRIGHT around the torch but quickly fade back to black -- almost a visible circle around the torch (it's not the case on the gif below because it's not against a wall)
2) the whole tint must be orange-y yellow-y. You must adjust the Hue of your texture to make it match the color of the torch (as I said : orange-ish tone) -- at the moment the wall is brownish/greenish while the torch halo is yellow and the torch orange.
3) the torch must brightly light any surface facing it. That means more than you think:
   - the wall behind it
   - if the bright around he torch is large enough: the walls on the sides
   - THE SIDES OF THE BRICKS EVERYWHERE AROUND THE TORCH (the underside for the bricks above, the upper side for the bricks below, the left side for the bircks on the right...)


PS: in regards to the video you posted: it makes no sense that some parts of the unlit wall are brighter than the lit part. The lit part must be much brighter, the unlit part must be much darker.

« Last Edit: 29 Sep 2017, 13:25 by Monsieur OUXX »
 

Slasher

  • Posts: 2,726
  • slasher
    • I can help with AGS tutoring
    • Lifetime Achievement Award Winner
    • I can help with scripting
    • I can help with story design
    • Slasher worked on a game that was nominated for an AGS Award!
Re: Light area around wall flame torch
« Reply #8 on: 29 Sep 2017, 10:01 »
Thanks for your comments and info..

I will experiment with the lighting...

I am also experimenting with Spriter.. So good do far...