-
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.
Clusters: Added support for scene samples clustering.
- Loading branch information
1 parent
bec5c82
commit b985f0c
Showing
51 changed files
with
1,362 additions
and
292 deletions.
There are no files selected for viewing
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
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
Submodule RenderGraph
updated
9 files
Submodule vcpkg
updated
62 files
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
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,20 @@ | ||
/* | ||
See LICENSE file in root folder | ||
*/ | ||
#ifndef ___C3D_ClustersMask_H___ | ||
#define ___C3D_ClustersMask_H___ | ||
|
||
#include "ClusteredModule.hpp" | ||
|
||
namespace castor3d | ||
{ | ||
crg::FramePass const & createClustersMaskPass( crg::FramePassGroup & graph | ||
, crg::FramePass const & previousPass | ||
, RenderDevice const & device | ||
, CameraUbo const & cameraUbo | ||
, FrustumClusters & clusters | ||
, RenderTechnique & technique | ||
, RenderNodesPass *& nodesPass ); | ||
} | ||
|
||
#endif |
18 changes: 18 additions & 0 deletions
18
include/Core/Castor3D/Render/Clustered/FindUniqueClusters.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_FindUniqueClusters_H___ | ||
#define ___C3D_FindUniqueClusters_H___ | ||
|
||
#include "ClusteredModule.hpp" | ||
|
||
namespace castor3d | ||
{ | ||
C3D_API crg::FramePass const & createFindUniqueClustersPass( 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
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.