Skip to content

Commit

Permalink
Fix parallax meshes not being rendered to shadow maps
Browse files Browse the repository at this point in the history
Shader check for lighting shaders ignored PAR.
  • Loading branch information
pr0bability committed Dec 16, 2024
1 parent 0b805ef commit a028063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NewVegas/nvse/GameNi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,5 +276,5 @@ void NiDX9Renderer::CalculateBoneMatrixes(NiSkinInstance* SkinInstance, NiTransf
}

bool BSShaderProperty::IsLightingProperty() {
return (type == ShaderDefinitionEnum::kShaderDefinition_ShadowLightShader || type == ShaderDefinitionEnum::kShaderDefinition_Lighting30Shader);
return (type == ShaderDefinitionEnum::kShaderDefinition_ShadowLightShader || type == ShaderDefinitionEnum::kShaderDefinition_Lighting30Shader || type == ShaderDefinitionEnum::kShaderDefinition_ParallaxShader );
}

0 comments on commit a028063

Please sign in to comment.