1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Fix multilayer parallax parameter reading

This commit is contained in:
Alexei Dobrohotov 2022-01-08 01:58:52 +03:00
parent ceaa141cdf
commit b5a7ad6d62

View File

@ -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: