mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
Fix multilayer parallax parameter reading
This commit is contained in:
parent
ceaa141cdf
commit
b5a7ad6d62
@ -180,7 +180,7 @@ void BSLightingShaderProperty::read(NIFStream *nif)
|
|||||||
case BSLightingShaderType::ShaderType_MultiLayerParallax:
|
case BSLightingShaderType::ShaderType_MultiLayerParallax:
|
||||||
nif->skip(4); // Inner layer thickness
|
nif->skip(4); // Inner layer thickness
|
||||||
nif->skip(4); // Refraction scale
|
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
|
nif->skip(4); // Environment map strength
|
||||||
break;
|
break;
|
||||||
case BSLightingShaderType::ShaderType_SparkleSnow:
|
case BSLightingShaderType::ShaderType_SparkleSnow:
|
||||||
|
Loading…
Reference in New Issue
Block a user