Issues with Material Change for Player


Author: Charley Weaver

There were two issues related to materials of the player that I was able to identify and solve throughout the course of this week's sprint. First, the butterfly character's material was only rendering on one side of the wings. This caused the wings to seemingly disappear each time the wings flapped upward. The inability to see the majority of the character made it difficult to see where you were going when flying. I was able to remedy this by modifying the material to be two sided. This was a simple fix to the issue at hand. 

The second challenge I had regarding materials for the player's character was the changing of the mesh over a set period of time when the camouflage skill was activated. I struggled with getting the mesh to change to a different material when the "F" key was pressed. After a a bit of debugging, I realized I needed to set the material of the third index. Why? The third index held the material for the wings themselves: the target I needed. This fix made the butterfly finally feel whole and allowed for better visibility of the character throughout the entire animation sequence.

Leave a comment

Log in with itch.io to leave a comment.