summaryrefslogtreecommitdiffstats
path: root/src/Runtime/res/effectlib/microfacetBSDF.glsllib
diff options
context:
space:
mode:
authorMäättä Antti <antti.maatta@qt.io>2017-10-18 15:36:03 +0300
committerAntti Määttä <antti.maatta@qt.io>2017-10-24 13:23:37 +0000
commit7377640e36ec191e9148affadefdc817dbbe3270 (patch)
treef8e18a136ca0f1264ecfa2e0b0dc881409314cf3 /src/Runtime/res/effectlib/microfacetBSDF.glsllib
parent034994c8cd31cb035fbb290b229afffc2adf79ff (diff)
Replace UIC with QT3DS from materials and effectlib
Change-Id: Ifc5b409777a978401bd4179599b27fb4aa611844 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Runtime/res/effectlib/microfacetBSDF.glsllib')
-rw-r--r--src/Runtime/res/effectlib/microfacetBSDF.glsllib2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Runtime/res/effectlib/microfacetBSDF.glsllib b/src/Runtime/res/effectlib/microfacetBSDF.glsllib
index 89951ab4..1bdd2fee 100644
--- a/src/Runtime/res/effectlib/microfacetBSDF.glsllib
+++ b/src/Runtime/res/effectlib/microfacetBSDF.glsllib
@@ -124,7 +124,7 @@ vec4 microfacetBSDF( in mat3 tanFrame, in vec3 L, in vec3 V, in vec3 lightSpecul
vec4 microfacetBSDFEnvironment( in mat3 tanFrame, in vec3 viewDir, in float roughnessU, in float roughnessV, int mode )
{
vec3 rgb = vec3( 0.0f, 0.0f, 0.0f );
-#if !UIC_ENABLE_LIGHT_PROBE
+#if !QT3DS_ENABLE_LIGHT_PROBE
if ( uEnvironmentMappingEnabled )
{
float roughness = calculateRoughness( tanFrame[2], roughnessU, roughnessV, tanFrame[0] );