From 2dfd6322587eb095a5a4f7b22d70e1abcc14d5e3 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 31 Mar 2025 21:50:39 -0700 Subject: Overhaul wrapped lighting Now: * k=0 -> lambertian * k=0.5 -> half lambertian * k=1.0 -> flat All three points should be energy conserving, but I haven't done the actual analysis yet. --- globals.cginc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index 2578e3a..62bbdee 100644 --- a/globals.cginc +++ b/globals.cginc @@ -295,7 +295,8 @@ float _Vertex_Domain_Warping_Speed; #endif // _VERTEX_DOMAIN_WARPING #if defined(_VERTEX_DOMAIN_WARPING_AUDIOLINK) -float4 _Vertex_Domain_Warping_Audiolink_VU_Factors; +float _Vertex_Domain_Warping_Audiolink_VU_Strength_Factor; +float _Vertex_Domain_Warping_Audiolink_VU_Scale_Factor; #endif // _VERTEX_DOMAIN_WARPING_AUDIOLINK #if defined(_UV_DOMAIN_WARPING) -- cgit v1.2.3