1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Merge branch 'friendshipismagic' into 'master'

Fix multilayer parallax parameter reading in BSLightingShaderProperty

See merge request OpenMW/openmw!1541
This commit is contained in:
psi29a 2022-01-08 16:39:38 +00:00
commit a50662f7db

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: