cs-gradwork / HorrorGame

https://bnhoang2k.github.io/HorrorGame/
0 stars 0 forks source link

Make wire frame shader fade distance based off of arm length in Reach #72

Closed k-schuler closed 6 months ago

bnhoang2k commented 6 months ago

Can't attach it to the arm for efficiency issues, but I just hard coded the arm length into it.

k-schuler commented 6 months ago

Round table issue has made it clear the script is either buggy or not working. Not all the objects have the same distance fade.

bnhoang2k commented 6 months ago

Script is fine. Just tested it on a bunch of objects in the TestScene. Issue was that the material created weirdly and had dependencies on the wall material. I reseted it and it looks fine.

Image