Change appearance by season¶
Use SystemBasedSeasonalMaterial when a tree or terrain prop needs continuous seasonal coloring. It follows seasonal influences, including latitude-dependent blends, rather than replacing a material whenever the displayed season name changes.
- Configure Calendar, Astronomy, and Season System with a valid Season Profile.
- Choose a Renderer with a shader color property you can control. Duplicate a supplied palette before customizing a shared asset.
- Add
SystemBasedSeasonalMaterial, select its context, Renderer and material slot, and configure the correct shader property name. - Assign a seasonal palette or local gradients matching the active profile's stable season IDs. Configure each season's gradient to describe progression through that season.
- Leave Use Conditions As Blend off for direct seasonal coloring. Enable it only when an additional activation signal should blend the evaluated result with Inactive Color.
- In Play Mode, inspect dates across the annual cycle and several latitudes. Confirm the intended material slot changes.
Expected result: the renderer follows the evaluated seasonal palette. Changing a shared palette affects all instances using it. A season's display name is not its stable ID, and list position is not a persistence key.
If the color does not change, check the profile's resolved influences, palette IDs, material slot, and shader property. Another script or response writing the same MaterialPropertyBlock can overwrite the result. For one annual gradient without season tracks, consider SystemBasedYearlyMaterial instead.
Related: seasons, material responses.