cs-gradwork / HorrorGame

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

Fix bug where round table legs don't have a wireframe #81

Closed k-schuler closed 6 months ago

bnhoang2k commented 6 months ago

Don't see it?

k-schuler commented 6 months ago

The round table on the left of the big bookcase. The legs are black and do not have a wireframe while blind.

bnhoang2k commented 6 months ago

it's because the wireframe distance function calculates the distance from the player camera and the player is too tall. Not sure if this is even fixable. Shows up fine in the scene editor if we're really low on the ground.

Image

k-schuler commented 6 months ago

I went back and looked at it in the game, the whole table didn't have a wireframe and the material was set to Standard shader, reset it in game mode to Amazing Assets and looked at the distance fade, which was less than all other objects, causing its weird behavior. Outside of game mode, the tables material is different than the other materials and won't let me change the distance fade or any other wireframe settings. The distance fade is supposed to be set by a script, so it is either not working or buggy.

bnhoang2k commented 6 months ago

See Issue #72