mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
fix render advanced pipeline issues
This commit is contained in:
parent
0ab23a117d
commit
ac9772cd67
12 changed files with 192 additions and 86 deletions
|
|
@ -35,6 +35,18 @@ public:
|
|||
/// @param context graphics context will be modified
|
||||
void use(DrawContext& context, bool gbufferPipeline);
|
||||
|
||||
void renderDeferredShading(
|
||||
const DrawContext& context,
|
||||
const Assets& assets,
|
||||
float timer,
|
||||
const Camera& camera,
|
||||
uint shadowMap,
|
||||
uint shadowMap2,
|
||||
const glm::mat4& shadowMatrix,
|
||||
const glm::mat4& shadowMatrix2,
|
||||
uint shadowMapResolution
|
||||
);
|
||||
|
||||
/// @brief Render fullscreen quad using the passed shader
|
||||
/// with framebuffer texture bound
|
||||
/// @param context graphics context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue