Skip to content

Commit

Permalink
Update Sources/Plasma/FeatureLib/pfMetalPipeline/plMetalPipeline.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Johnson <[email protected]>
  • Loading branch information
colincornaby and Hoikas committed Jan 1, 2025
1 parent ba6607b commit 7ed39a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3756,7 +3756,7 @@ void plMetalPipeline::IRenderShadowsOntoSpan(const plRenderPrimFunc& render, con
// The shadow light isn't used in generating the shadow map, it's used
// in projecting the shadow map onto the scene.
plShadowState shadowState;
shadowState.opacity = first? mat->GetLayer(0)->GetOpacity() : 1.f;
shadowState.opacity = first ? mat->GetLayer(0)->GetOpacity() : 1.f;
ISetupShadowState(fShadows[i], shadowState);

struct plMetalFragmentShaderDescription passDescription{};
Expand Down

0 comments on commit 7ed39a1

Please sign in to comment.