BsLightProbes.h 746 B

1234567891011121314151617181920212223242526272829
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsRenderBeastPrerequisites.h"
  5. #include "BsTriangulation.h"
  6. #include "BsMatrix4.h"
  7. namespace bs { namespace ct
  8. {
  9. /** @addtogroup RenderBeast
  10. * @{
  11. */
  12. /** Handles any pre-processing for light (irradiance) probe lighting. */
  13. class LightProbes
  14. {
  15. struct LightTetrahedron
  16. {
  17. Tetrahedron volume;
  18. Matrix4 transform;
  19. };
  20. // TODO - This should accept LightProbe types as input probably
  21. void updateProbes(const Vector<Vector3>& positions);
  22. };
  23. /** @} */
  24. }}