summaryrefslogtreecommitdiffstats
path: root/MochieStandardBRDF.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'MochieStandardBRDF.cginc')
-rw-r--r--MochieStandardBRDF.cginc14
1 files changed, 0 insertions, 14 deletions
diff --git a/MochieStandardBRDF.cginc b/MochieStandardBRDF.cginc
index 90f5df5..515798e 100644
--- a/MochieStandardBRDF.cginc
+++ b/MochieStandardBRDF.cginc
@@ -1,9 +1,6 @@
#ifndef MOCHIE_STANDARD_BRDF_INCLUDED
#define MOCHIE_STANDARD_BRDF_INCLUDED
-#include "filament_math.cginc"
-#include "globals.cginc"
-
/*
* MIT License
*
@@ -173,17 +170,6 @@ half4 BRDF1_Mochie_PBS (
// reflCol *= lerp(1, vertexColor, _ReflVertexColor*_ReflVertexColorStrength);
// #endif
-#if defined(_CLEARCOAT)
- half cc_nh = saturate(dot(mesh_normal, halfDir));
- float clearcoat = FilamentClearcoat(
- _Clearcoat_Roughness,
- _Clearcoat_Strength,
- cc_nh,
- lh,
- halfDir);
- specCol += clearcoat * saturate(dot(mesh_normal, light.dir)) * 10;
-#endif
-
return half4(diffCol + specCol + reflCol + subsurfaceCol, 1);
}