diff --git a/packages/shader-shaderlab/src/shaders/shadingPBR/ForwardPassPBR.glsl b/packages/shader-shaderlab/src/shaders/shadingPBR/ForwardPassPBR.glsl index 55628a0c2a..2550aaf08b 100644 --- a/packages/shader-shaderlab/src/shaders/shadingPBR/ForwardPassPBR.glsl +++ b/packages/shader-shaderlab/src/shaders/shadingPBR/ForwardPassPBR.glsl @@ -8,6 +8,7 @@ #include "VaryingsPBR.glsl" #include "LightDirectPBR.glsl" #include "LightIndirectPBR.glsl" +#include "BTDF.glsl" #include "VertexPBR.glsl" #include "FragmentPBR.glsl" diff --git a/packages/shader-shaderlab/src/shaders/shadingPBR/LightIndirectPBR.glsl b/packages/shader-shaderlab/src/shaders/shadingPBR/LightIndirectPBR.glsl index fe9577fd52..d1e279d018 100644 --- a/packages/shader-shaderlab/src/shaders/shadingPBR/LightIndirectPBR.glsl +++ b/packages/shader-shaderlab/src/shaders/shadingPBR/LightIndirectPBR.glsl @@ -15,7 +15,6 @@ #define FUNCTION_SHEEN_IBL evaluateSheenIBL #endif #include "BRDF.glsl" -#include "BTDF.glsl" #include "Light.glsl" #include "LightIndirectFunctions.glsl"