From 6b1000d2852b5a2cd45e339ef97ac1026e0e3966 Mon Sep 17 00:00:00 2001 From: Jerry Gamache Date: Thu, 17 Oct 2024 11:27:59 -0400 Subject: [PATCH] Fix relative paths --- libraries/pbrlib/genglsl/lib/mx39_microfacet.glsl | 2 +- libraries/pbrlib/genglsl/lib/mx39_microfacet_diffuse.glsl | 2 +- libraries/pbrlib/genglsl/lib/mx39_microfacet_sheen.glsl | 2 +- libraries/pbrlib/genglsl/lib/mx39_microfacet_specular.glsl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/pbrlib/genglsl/lib/mx39_microfacet.glsl b/libraries/pbrlib/genglsl/lib/mx39_microfacet.glsl index befa82b413..5637f388a0 100644 --- a/libraries/pbrlib/genglsl/lib/mx39_microfacet.glsl +++ b/libraries/pbrlib/genglsl/lib/mx39_microfacet.glsl @@ -1,4 +1,4 @@ -#include "libraries/pbrlib/genglsl/lib/mx_microfacet.glsl" +#include "mx_microfacet.glsl" float mx39_pow6(float x) { diff --git a/libraries/pbrlib/genglsl/lib/mx39_microfacet_diffuse.glsl b/libraries/pbrlib/genglsl/lib/mx39_microfacet_diffuse.glsl index e55ed70229..c7ef22b78a 100644 --- a/libraries/pbrlib/genglsl/lib/mx39_microfacet_diffuse.glsl +++ b/libraries/pbrlib/genglsl/lib/mx39_microfacet_diffuse.glsl @@ -1,5 +1,5 @@ #include "mx39_microfacet.glsl" -#include "libraries/pbrlib/genglsl/lib/mx_microfacet_diffuse.glsl" +#include "mx_microfacet_diffuse.glsl" const float FUJII_CONSTANT_1 = 0.5 - 2.0 / (3.0 * M_PI); const float FUJII_CONSTANT_2 = 2.0 / 3.0 - 28.0 / (15.0 * M_PI); diff --git a/libraries/pbrlib/genglsl/lib/mx39_microfacet_sheen.glsl b/libraries/pbrlib/genglsl/lib/mx39_microfacet_sheen.glsl index f14079aa72..a03803d4a7 100644 --- a/libraries/pbrlib/genglsl/lib/mx39_microfacet_sheen.glsl +++ b/libraries/pbrlib/genglsl/lib/mx39_microfacet_sheen.glsl @@ -1,5 +1,5 @@ #include "mx39_microfacet.glsl" -#include "libraries/pbrlib/genglsl/lib/mx_microfacet_sheen.glsl" +#include "mx_microfacet_sheen.glsl" // The following functions are adapted from https://github.com/tizian/ltc-sheen. // "Practical Multiple-Scattering Sheen Using Linearly Transformed Cosines", Zeltner et al. diff --git a/libraries/pbrlib/genglsl/lib/mx39_microfacet_specular.glsl b/libraries/pbrlib/genglsl/lib/mx39_microfacet_specular.glsl index 03fb671b17..fa4badc7e5 100644 --- a/libraries/pbrlib/genglsl/lib/mx39_microfacet_specular.glsl +++ b/libraries/pbrlib/genglsl/lib/mx39_microfacet_specular.glsl @@ -1,5 +1,5 @@ #include "mx39_microfacet.glsl" -#include "libraries/pbrlib/genglsl/lib/mx_microfacet_specular.glsl" +#include "mx_microfacet_specular.glsl" const int MX39_FRESNEL_MODEL_DIELECTRIC = 0; const int MX39_FRESNEL_MODEL_CONDUCTOR = 1;