-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clustered: Added lights BVH generation.
- Loading branch information
1 parent
cdc75fe
commit 55a66d2
Showing
36 changed files
with
2,183 additions
and
241 deletions.
There are no files selected for viewing
Submodule RenderGraph
updated
2 files
+16 −8 | include/RenderGraph/RecordContext.hpp | |
+35 −18 | source/RenderGraph/RecordContext.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
See LICENSE file in root folder | ||
*/ | ||
#ifndef ___C3D_BuildLightsBVH_H___ | ||
#define ___C3D_BuildLightsBVH_H___ | ||
|
||
#include "ClusteredModule.hpp" | ||
|
||
namespace castor3d | ||
{ | ||
C3D_API crg::FramePass const & createBuildLightsBVHPass( crg::FramePassGroup & graph | ||
, crg::FramePass const * previousPass | ||
, RenderDevice const & device | ||
, CameraUbo const & cameraUbo | ||
, FrustumClusters & clusters ); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
include/Core/Castor3D/Render/Clustered/ComputeLightsMortonCode.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
See LICENSE file in root folder | ||
*/ | ||
#ifndef ___C3D_ComputeLightsMortonCode_H___ | ||
#define ___C3D_ComputeLightsMortonCode_H___ | ||
|
||
#include "ClusteredModule.hpp" | ||
|
||
namespace castor3d | ||
{ | ||
C3D_API crg::FramePass const & createComputeLightsMortonCodePass( crg::FramePassGroup & graph | ||
, crg::FramePass const * previousPass | ||
, RenderDevice const & device | ||
, CameraUbo const & cameraUbo | ||
, FrustumClusters & clusters ); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
include/Core/Castor3D/Render/Clustered/ReduceLightsAABB.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
See LICENSE file in root folder | ||
*/ | ||
#ifndef ___C3D_ReduceLightsAABB_H___ | ||
#define ___C3D_ReduceLightsAABB_H___ | ||
|
||
#include "ClusteredModule.hpp" | ||
|
||
namespace castor3d | ||
{ | ||
C3D_API crg::FramePass const & createReduceLightsAABBPass( crg::FramePassGroup & graph | ||
, crg::FramePass const * previousPass | ||
, RenderDevice const & device | ||
, CameraUbo const & cameraUbo | ||
, FrustumClusters & clusters ); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.