π¨Interactions Module
Overview
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 Manager Profile. Material references are stored in the profile so that changes that you make to this module will be cross scene compatible.
Key Features
Modulated Values
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 target, input and mapped gradient/curve and the material manager will automatically change the variables on your target.
Global Values
Snow
Set your snow texture, scale, and color here
Rain
Set your puddle scale
Usage Examples
Make your leaves change colors with the seasons
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!
Setup COZY to work with your global snow system
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!
Last updated