From 9b5734a3111d0c2fe44c20e197faceb3fa358bec Mon Sep 17 00:00:00 2001 From: Patricio Guerra Date: Thu, 6 Jun 2024 11:48:34 -0300 Subject: [PATCH] fix: typo --- Runtime/Shaders/URP/Lighting.hlsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Shaders/URP/Lighting.hlsl b/Runtime/Shaders/URP/Lighting.hlsl index fe24c0f..8807d17 100644 --- a/Runtime/Shaders/URP/Lighting.hlsl +++ b/Runtime/Shaders/URP/Lighting.hlsl @@ -319,7 +319,7 @@ inline void InitializeBRDFData(half3 albedo, half metallic, half3 specular, half half oneMinusReflectivity = OneMinusReflectivityMetallic(metallic); half reflectivity = 1.0 - oneMinusReflectivity; half3 brdfDiffuse = albedo * oneMinusReflectivity; - half3 brdfSpecular = lerp(kDieletricSpec.rgb, albedo, metallic); + half3 brdfSpecular = lerp(kDielectricSpec.rgb, albedo, metallic); #endif InitializeBRDFDataDirect(brdfDiffuse, brdfSpecular, reflectivity, oneMinusReflectivity, smoothness, alpha, outBRDFData);