Reskinned Website, and Render Textures in Unity

At the beginning of this week I was still working on the website and fixing a couple issues. I also changed a lot of the styling on the website so it fits with our brand better. Now it's more orange, with a warmer color palette.



Later this week, in Unity I created a script that uses the Render Texture on a camera that looks at a custom UnlitRenderTexture layermask and saves a PNG of where the player is overlapping with the wall. The reason I use a layermask is so that the player doesn't see this layer, as well as making sure this second camera only renders out the player and the wall cutout.
As you can see in this image, when the player is overlapping with the red walls it is purple. Where-ever it is purple will tell us what percentage of the player is overlapping with the wall cut-out. It is our plan to be able to show an image like this, along with that percentage to therapists and patients so they can see how well they did.

Comments

Popular posts from this blog