Graphics: Update material shaders

This commit is contained in:
SirLynix
2023-11-16 09:00:21 +01:00
parent 3b61face6f
commit b7aca4b22a
6 changed files with 267 additions and 279 deletions

View File

@@ -89,6 +89,10 @@ namespace Nz
#include <Nazara/Graphics/Resources/Shaders/Modules/Math/CookTorrancePBR.nzslb.h>
};
const UInt8 r_mathDepthModule[] = {
#include <Nazara/Graphics/Resources/Shaders/Modules/Math/Depth.nzslb.h>
};
// Passes
const UInt8 r_gammaCorrectionPass[] = {
#include <Nazara/Graphics/Resources/Shaders/Passes/GammaCorrection.nzslb.h>
@@ -487,6 +491,7 @@ namespace Nz
RegisterEmbedShaderModule(r_mathColorModule);
RegisterEmbedShaderModule(r_mathConstantsModule);
RegisterEmbedShaderModule(r_mathCookTorrancePBRModule);
RegisterEmbedShaderModule(r_mathDepthModule);
RegisterEmbedShaderModule(r_phongMaterialShader);
RegisterEmbedShaderModule(r_physicallyBasedMaterialShader);
RegisterEmbedShaderModule(r_skinningDataModule);