Interactions Module
Last updated
Was this helpful?
Last updated
Was this helpful?
Link your world's materials to the COZY system for dynamically changing environments. Control terrain layer colors, material colors and values, and global shader colors and values with the . Material references are stored in the profile so that changes that you make to this module will be cross scene compatible.
Modify a target value
Terrain Layer Color (Gradient)
Material Color (Gradient)
Material Value (Curve)
Global Color (Gradient)
Global Value (Curve)
Based on an input
Day Percentage
Year Percentage
Precipitation
Temperature
Snow Amount
Rain Amount
Set your snow texture, scale, and color here
Set your puddle scale
Add a new modulated value in the material module
In your new modulated value, select Material Color and Year Percent at the top. Now set your mapped gradient to look like this one:
Link your target material and the property that you want to change and then you're done!
Every snow system is different so this example is a bit abstract however as long as your snow system uses a global shader float for calculating the snow amount this will work well.
Add a new modulated value in the material module
In your new modulated value, select Global Value and Snow Amount at the top. Now set your mapped curve to a curve from (0, 0) to (1, 1)
Then set your Global Shader Property Name to the name of your snow amount variable. Here I have used CZY_SnowAmount, but you can use whatever variable you like as long as it matches your materials!
Set your target, input and mapped and the material manager will automatically change the variables on your target.