The original idea was to make it so that the user could use this to change what season and climate the weather system was located, however, because of lack of time I had chosen to make the season one, this way I still had a UI the user could use.
For the UI I had some simple text to explain what the UI does and then 4 buttons for each season.
Each button season will use a function on which will set the values of the rain and snow so that they either have more or less of a chance of happening.
Like every time I write a UI, I make sure that if the UI already exists that it will delete it self it the script is executed again to save from having several duplicates on the screen at once.
The UI also has Spring as the default season.
I could have the snow not happen all together but because it can snow in some places during the summer though it mostly is rare in certain places I left it as it was.
When we look at the numbers for the winter you can see it has more change of snowing than anything else.
The UI that gets created is this the image below.
One thing I also wanted to try was make the sun change due to the weather, so for when it is raining it looks more overcast and then with the summer it was sunny, this was you could see the different season a lot more. However, when I implemented it into the code I had the issue of the light was snapping rather than wanting to use the lerp that was set up. It was also going all over the place. During one of the snowing states it got really bright that the texture was just white.
I decided to not try adding this at such a last moment because of the errors.
I decided to not try adding this at such a last moment because of the errors.
CONCLUSION
I was originally hoping to have a scene on which more different types of materials and objects change due to the weather however, because of the shader taking longer than anticipated it was obvious that if I did try that I may have not had my code working.
The shader was one of the things which took a bit of the work because of the way ShaderFX works, the lighting wasn't great till I had but lighting into the environment to keep the errors from showing up.
I learnt some valuable lessons during this module, as I want to specialize as a texture artist this was a cool project to take on. I feel like that keeping some Python knowledge will be helpful in my career.
This project was good experience and I learnt a lot, even some new Python knowledge to use.
The Expression Editor took me a little while to figure out how to get working correctly but when I did I started to question why I got so stuck in the first place.
In the end of this project, though I wish I had done more I felt I learnt more from what adds to what I learnt from last semester too. I had to do a little remember of some things I did last semester but it helped.
Additionally I was a little annoying how long it took me to get the ShaderFX working correctly as I was really hoping to have a small scene and more to my UI.
However, with what I got I am reasonably please with it.