After last practical, thanks to my lecturer I also learnt a lot about UV mapping which was the reason why I couldn't make the textures appear on the cave model I made earlier.
I started with making start point more recognisable and I put a wooden sign(got from a cool website for free 3D models and other assets) near it, it also contains numbers which are main clues for the game-player has to find all roboflies, or at least most of it so i put numbers on a wooden sign as well as the walls. And the main problem appeared to be here...
Firstly I needed to figure out ho to put text on objects which already have textures on it..I eventually decided to use 3D text built in Unity, everything worked fine except that the text was visible through every object that was in a game!...
Finding a solution to this may seem trivial but it is not...after spending hours to find out how exactly make it work I tried following a tutorial found here, but the instructions were not clear enough...Firstly I tried using a new material other than that downloaded with the font and trying to add a GUI shader built in Unity to it...didn't work...after I finally figured out that I need the code that was given on a tutorial I tried to learn creating my own shader and figuring out where to put the code that was in the tutorial...By trying out almost every possible way I finally managed to get this all to work!! :D Now the text is not visible through walls and hopefully it will be enough clues for player :P
View from nearby start point looks like that now:
No comments:
Post a Comment