Welcome, Guest.
Username: Password: Remember me

TOPIC: Depth based Ambient Light (?)

Depth based Ambient Light (?) 8 months 3 weeks ago #1

  • jas01
  • jas01's Avatar
  • Offline
  • Posts: 79
  • Thank you received: 10
Thers is a little bit stupid suggestion.. I would like to request a depth based Ambient Light shader. (To enhance this effect in the distant plan..)


i.imgur.com/ENwz7BS.png
(depth based bloom)


*Sorry for my poor grammar.. :/
The administrator has disabled public write access.

Depth based Ambient Light (?) 8 months 3 weeks ago #2

  • Ganossa
  • Ganossa's Avatar
  • Offline
  • 최정장군
  • Posts: 790
  • Thank you received: 838
Its not as easy cause depth is applied on a pixel dependent on the depth of that pixel while having only one focus point.
For light you would need to apply light on a pixel dependent on the depth of a pixel that is source of that light while having an arbitrary number of possible light sources.

I thought about something similar once to fake global illumination but that requires a smart algorithm to think of first ;)

What should be possible though is applying the AL algo only on a certain (soft) depth threshold. That way you could limit the effect to only the background. Not sure though if that is what you want.
Last Edit: 8 months 3 weeks ago by Ganossa.
The administrator has disabled public write access.

Depth based Ambient Light (?) 8 months 3 weeks ago #3

  • jas01
  • jas01's Avatar
  • Offline
  • Posts: 79
  • Thank you received: 10
Ganossa wrote:
Its not as easy cause depth is applied on a pixel dependent on the depth of that pixel while having only one focus point.
For light you would need to apply light on a pixel dependent on the depth of a pixel that is source of that light while having an arbitrary number of possible light sources.

I thought about something similar once to fake global illumination but that requires a smart algorithm to think of first ;)
Okay. I understand.

Ganossa wrote:
What should be possible though is applying the AL algo only on a certain (soft) depth threshold. That way you could limit the effect to only the background. Not sure though if that is what you want.
Sure. This would be pretty cool.
The administrator has disabled public write access.