Skip to main content
added 90 characters in body
Source Link
MaT
  • 1.2k
  • 11
  • 21

I am currently trying to implement a specific directional light type.

This light type has been used in the game INSIDE and is called orthogonal spotlight (aka local directional light). I assume that this is a directional light which behaves like a spot light and have a squared or rectangular attenuation but I have some difficulties to integrate it in my deferred pipeline and get the general concept of this light type.

Classical directional light : dot(worldNormal, lightDir)

enter image description here

I hope that you'll be able to give me some clues. Thanks a lot !

I am currently trying to implement a specific directional light type.

This light type has been used in the game INSIDE and is called orthogonal spotlight (aka local directional light). I assume that this is a directional light which behaves like a spot light and have a squared or rectangular attenuation but I have some difficulties to integrate it in my deferred pipeline and get the general concept of this light type.

I hope that you'll be able to give me some clues. Thanks a lot !

I am currently trying to implement a specific directional light type.

This light type has been used in the game INSIDE and is called orthogonal spotlight (aka local directional light). I assume that this is a directional light which behaves like a spot light and have a squared or rectangular attenuation but I have some difficulties to integrate it in my deferred pipeline and get the general concept of this light type.

Classical directional light : dot(worldNormal, lightDir)

enter image description here

I hope that you'll be able to give me some clues. Thanks a lot !

Source Link
MaT
  • 1.2k
  • 11
  • 21

Special directional light type

I am currently trying to implement a specific directional light type.

This light type has been used in the game INSIDE and is called orthogonal spotlight (aka local directional light). I assume that this is a directional light which behaves like a spot light and have a squared or rectangular attenuation but I have some difficulties to integrate it in my deferred pipeline and get the general concept of this light type.

I hope that you'll be able to give me some clues. Thanks a lot !