While developing the game, I encountered a strange visual bug affecting the hair of my MetaHuman characters.
The hair would become extremely blurry and appear completely out of focus during gameplay.
The Investigation
My first suspicion was translucency and Depth of Field.
After testing different settings, I discovered that switching from Virtual Shadow Maps to the older Shadow Maps method made the problem disappear.
But that wasn’t really the solution I wanted.
Virtual Shadow Maps are an important part of the project’s rendering setup, so I wanted to find a way to fix the issue without giving them up.
After some research and experimentation, I eventually found a console command that solved the problem while allowing me to keep Virtual Shadow Maps.
The Console Command:
r.HairStrands.ComposeAfterTranslucency 2
And just like that…
The hair was sharp again.
A Small Bug, A Useful Lesson
This was a relatively small issue, but it was a good reminder of how unpredictable game development can sometimes be.
A visual problem that looks like it should be related to one system can sometimes come from somewhere completely different.
And sometimes, finding the solution means a lot of testing, research, and asking the occasional AI for help. ๐
๐ฌ Watch Bug Hunt #1
In this episode, I document the problem, the investigation, and the final solution.
Bug Hunt is a development series where I share some of the technical problems I encounter while building the gameโand how I solve them along the way.
One bug at a time. ๐
๐ Support the Project
If you’d like to follow the development and support the project, you can wishlist the game on the PlayStation Store.





0 Comments