From b5a7ad6d62dba84b4eed88fc9a9a76f06312a5a6 Mon Sep 17 00:00:00 2001 From: Alexei Dobrohotov Date: Sat, 8 Jan 2022 01:58:52 +0300 Subject: [PATCH] Fix multilayer parallax parameter reading --- components/nif/property.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nif/property.cpp b/components/nif/property.cpp index 70acbb82ae..ee47e8ccbe 100644 --- a/components/nif/property.cpp +++ b/components/nif/property.cpp @@ -180,7 +180,7 @@ void BSLightingShaderProperty::read(NIFStream *nif) case BSLightingShaderType::ShaderType_MultiLayerParallax: nif->skip(4); // Inner layer thickness nif->skip(4); // Refraction scale - nif->skip(4); // Inner layer texture scale + nif->skip(8); // Inner layer texture scale nif->skip(4); // Environment map strength break; case BSLightingShaderType::ShaderType_SparkleSnow: