From 3acb967c6b9afe7c040561ddffbab8fc8034c8fc Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 15 Jul 2024 14:40:15 -0700 Subject: Indicate modifications to filament clearcoat math --- filament_math.cginc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/filament_math.cginc b/filament_math.cginc index 38a30e8..5d088ee 100644 --- a/filament_math.cginc +++ b/filament_math.cginc @@ -3,6 +3,11 @@ #define PI 3.1415926535897932384626433832795028841971 +// THIS SOURCE CODE HAS BEEN MODIFIED! +// The only modifications are for compatibility with HLSL, for example: +// * Replacing normalizeMediump() with normalize() +// * Replacing vec3 with float3 + /* Apache License Version 2.0, January 2004 -- cgit v1.2.3