Skip to content

Commit

Permalink
fix: Make Panini projection usable (#262)
Browse files Browse the repository at this point in the history
The main problem with the Panini projection material function is that
the two inputs to a Lerp node were swapped. Besides fixing that, also
set the default value for Scale to 1 (which matches the default value
in-game) and add a comment to the MPC_Panini parameters about crashes
and a possible (even if miserable) workaround: use the cooked asset.

Tested using a custom material with a Xeno-Basher skeletal mesh and a
custom mesh (red solo cup), equipment appears in the Pioneer's hand.

Signed-off-by: Angel Pons <[email protected]>
  • Loading branch information
Th3Fanbus authored May 8, 2024
1 parent 62cc90b commit 2a521a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 0 deletions.
Binary file modified Content/FactoryGame/PostProcess/MF_ApplyPaniniProjection.uasset
Binary file not shown.
Binary file modified Content/FactoryGame/PostProcess/MF_PaniniProjection.uasset
Binary file not shown.

0 comments on commit 2a521a1

Please sign in to comment.