COZY Documentation
  • Welcome!
    • πŸ‘‹Hello!
    • πŸ—ΊοΈRoadmap
    • πŸ†˜Support & Community
    • πŸŽ“Changelog
  • Getting Started
    • πŸ”ŒInstallation
    • πŸ› οΈSetting Up Your Project
    • 🌐Creating a New Scene
    • πŸ“¦COZY Samples
  • How it works
    • βš™οΈThe System Perspective
    • ⏱️Meridiem Time
    • 🌈Gradients & Curves
    • βš–οΈWeighted Random Chance (WRC)
    • πŸ§‘β€πŸ«Weather Selection & Forecasting
    • The Weather Sphere
      • 🌌The Sky Dome
      • ☁️The Cloud Dome
        • COZY Desktop Clouds
        • COZY Mobile Clouds
        • Soft Clouds
        • Painted Skies
        • Ghibli Desktop & Mobile Clouds
        • Single Texture Clouds
        • Luxury Clouds
      • 🌫️The Fog Dome
    • Modules
      • 🌌Atmosphere Module
      • πŸ•‘Time Module
      • 🌦️Weather Module
      • πŸƒAmbience Module
      • 🌑️Climate Module
      • ⚑Events Module
      • 🎨Interactions Module
      • ☁️Buto Module
      • 🌎MicroSplat Module
      • 🌳The Vegetation Engine (TVE) Module
      • πŸͺžReflections Module
      • πŸŒ™Satellite Module
      • πŸ—ƒοΈSave & Load Module
      • πŸŒ„Transit Module
      • πŸ’¨Wind Module
      • πŸ•‘System Time Module
      • πŸ›Debug Module
      • ☁️Plume Module
      • πŸŒ‡Blocks Module
      • πŸŒ‘Eclipse Module
      • πŸ“†Habits Module
      • 🎼ReSound Module
      • πŸ”—Link Module
    • Profiles
      • Ambience Profile
      • Atmosphere Profile
      • Forecast Profile
      • Perennial Profile
      • Satellite Profile
      • Material Profile
      • Weather Profile
      • FX Profiles
        • Audio FX
        • Climate FX
        • Cloud FX
        • Event FX
        • Filter FX
        • Multi FX
        • Particle FX
        • Precipitation FX
        • Thunder FX
        • Visual FX
        • Wind FX
      • Climate Profile
    • Biomes
    • Settings
  • Extending COZY
    • Stopping Indoor FX
    • Developing the Render Queue
    • Utilities
  • Integrations
    • Crest Water 4 (URP Only)
    • Crest Water 5
    • Stylized Water 2
    • KWS Water System
    • Generic Shader Graph
    • The Vegetation Engine
    • MicroSplat
  • Appendix
    • Frequently Asked Questions (FAQs)
    • Improving Performance With COZY 3
Powered by GitBook
On this page
  • Overview
  • Key Features
  • Distinguishing the Profiles
  • Block Profile
  • Time Blocks
  • Color Block
  • How it Works
  • Usage Examples
  • Setting up Time Blocks
  • Test Blocks in the Editor

Was this helpful?

  1. How it works
  2. Modules

Blocks Module

PreviousPlume ModuleNextEclipse Module

Last updated 1 year ago

Was this helpful?

Overview

Control your skies using specific time blocks instead of gradients. Blocks has support for 7 different time blocks every day that you can assign a specific color block (static snapshot of an ) to. COZY will then interpolate the atmosphere colors between these Color Blocks automatically giving you more intuitive control over your lighting, colors, and FX.

Blocks allows users to customize their environment according to seven distinct time blocks each day. By selecting specific colors or atmospheres for these blocks, users can create seamless transitions that enhance the ambiance of their space throughout the day.

Blocks is an extension module for COZY 3 that is available for purchase .

Key Features

  • Custom Time Blocks: Define up to 7 unique time blocks per day to customize your environment's lighting and atmosphere.

  • Color Block Assignment: Assign specific colors or atmosphere profiles to each time block for unique environmental effects.

  • Random Selection: Assign multiple color blocks to the same time slot and the Blocks module will automatically pick a random color based on a .

  • Intuitive Control Interface: Easily select and modify your color blocks and time settings through a user-friendly interface.

Distinguishing the Profiles

Blocks has three major scriptable object profiles that it uses for the basic functionality. They have similar names, so it is important to distinguish them.

Block Profile

The Block Profile is used as the link between the Time Blocks and the Color Blocks. Determine what Time Blocks are used and assign a list of Color Blocks to each.

Time Blocks

Color Block

How it Works

You can also assign multiple Color Block Profiles to the same time slot and one will be randomly selected at runtime. This lets you add some pseudo randomness to your sky and keep your skies variated and interesting.

Usage Examples

Setting up Time Blocks

Test Blocks in the Editor

Blocks has a development toolkit that you can use to test the colors of your Color Blocks in edit mode.

To use this, simply drag and drop a Color Block into the Test Color Block field. You can also use this to see what Color Block is currently being used to color the sky.

Time Blocks are setup in the and break the COZY time loop into digestible chunks. The Start and End variables refer to the start and end of the transition, not the start and end of the actual Time Block. For example, in the above screenshot the morning block will transition into the day block from 7:30 to 9:00, and the day block will go from 9:00 to 13:00 where it will transition to the afternoon block from 13:00 to 14:00.

The Color Block profile refers to the actual preset atmosphere condition and colors. These profiles hold the for each preset and the access to the colors of the preset. These variables follow the same schematic as the variables for the , however these are always static.

Blocks provides users a new method for coloring their skies. While the default uses gradients to determine the color of the sky throughout the day, Blocks provides a more accessible method for this by setting predetermined times of the day and associating pre-set atmosphere colors (known as Color Block Profiles) with them.

You can set up the times that Color Blocks will change in the .

Transit Module
chance
Atmosphere Profile
Atmosphere Module
Transit Module
πŸŒ‡
Atmosphere Profile
separately
weighted random value
Page cover image