C
Join ServerC#
help
❔ How make the player stop seeing at distance.
IIván12/17/2022
I'm making a horror game, and I need to know how to make the player stop seeing at a certain distance, like in this picture

AAngius12/17/2022
In Unreal, I'd use black environmental fog
AAngius12/17/2022
But a workaround could be a sphere with inverted normals attached to the user
AAngius12/17/2022
With a shader that takes intersection with geometry into account and fades the color out
CChucklesTheBeard12/17/2022
the general technique is called "clipping" or "distance fog", it was super common in the 90's and early 00's.
IIván12/17/2022
But, I use Unity
AAngius12/17/2022
Do the same but in Unity, then
IIván12/17/2022
0kk
IIván12/17/2022
thanks
AAccord12/18/2022
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.