diff --git a/src/Nazara/Graphics/Graphics.cpp b/src/Nazara/Graphics/Graphics.cpp index e27f5b1f8..214a9b73a 100644 --- a/src/Nazara/Graphics/Graphics.cpp +++ b/src/Nazara/Graphics/Graphics.cpp @@ -67,6 +67,10 @@ namespace Nz #include }; + const UInt8 r_mathColorModule[] = { + #include + }; + const UInt8 r_mathConstantsModule[] = { #include }; @@ -74,6 +78,11 @@ namespace Nz const UInt8 r_mathCookTorrancePBRModule[] = { #include }; + + // Passes + const UInt8 r_gammaCorrectionPass[] = { + #include + }; } /*! @@ -397,8 +406,10 @@ namespace Nz m_shaderModuleResolver = std::make_shared(); RegisterEmbedShaderModule(r_basicMaterialShader); RegisterEmbedShaderModule(r_fullscreenVertexShader); + RegisterEmbedShaderModule(r_gammaCorrectionPass); RegisterEmbedShaderModule(r_instanceDataModule); RegisterEmbedShaderModule(r_lightDataModule); + RegisterEmbedShaderModule(r_mathColorModule); RegisterEmbedShaderModule(r_mathConstantsModule); RegisterEmbedShaderModule(r_mathCookTorrancePBRModule); RegisterEmbedShaderModule(r_phongMaterialShader);