Contingencyy/VulkanRenderer

Analytical area lights - Linearly Transformed Cosines

Opened this issue · 0 comments

https://learnopengl.com/Guest-Articles/2022/Area-Lights
https://eheitzresearch.wordpress.com/415-2/
https://drive.google.com/file/d/0BzvWIdpUpRx_d09ndGVjNVJzZjA/view?resourcekey=0-21tmiqk55JIZU8UoeJatXQ

  • Implementation for Linearly Transformed Cosines to evaluate irradiance from area lights
  • Rectangular area lights implemented
  • Render area lights in world
  • FIXED: Rotating area lights breaks the lighting (probably because of the 4 points being out of order)
  • FIXED: Area light is not rendered from both sides (no back-face culling)
  • LTC LUT textures should be calculated by my own code instead of using the precalculated ones
  • Rectangular area lights can be textured
  • Area lights properly interact with clear-coat layers