Introduction
This time, we will introduce how to express shading and shadows, as well as how to adjust brightness.
In UC-win/Road, version 11 introduced improvements to the speed and quality of the shadow visualization feature, making it suitable for real-time simulations such as driving simulators, which significantly enhanced the sense of depth and immersion. The sharpness and blurriness of shadows can now be adjusted, and settings are available even for distant objects, allowing for a wide range of shadow representations, including those under slightly cloudy conditions, not just clear skies.
Shadow expression settings
To draw shadows, first check the "Show Shadows" box in the "Shadows" tab of the "Drawing Options" under the "Home" menu. If you want the shadows to move along with the wind, like the leaves of a 3D tree, click on "Display Environment" in the "Home" menu. In the "Shadows" tab, check the box for the type of object that will cast the shadow.
 |
 |
| 1. Menu items: "Display Environment," "Drawing Options," and "Shadow" settings |
The shadow display distance determines the range in which shadows are displayed. A narrower range results in sharper shadows, while a wider range creates blurred shadows. Set the necessary display distance according to your purpose. For example, if you want to prevent shadows from being cut off midway, such as in a shading simulation, set a longer display distance. Conversely, if you only need to display close-up objects, shortening the display distance will result in sharper outlines for the shadows.
 |
 |
| Figure 2: Shadow display distance: 50 meters |
 |
 |
| Figure 3: Shadow display distance: 1000 meters |
 |
 |
| Figure 4: Shadow display distance (left: 50 meters, right: 300 meters) |
The clarity of the shadows changes depending on the size of the depth texture. Increasing the depth size results in sharper shadows, while decreasing it makes the shadows appear blurry. For example, on a clear day, increasing the depth size creates a more vivid representation of sunlight. To create softer shadows, such as those seen on a slightly cloudy day, decrease the depth size to blur the edges. Note that increasing the depth size consumes more memory.
 |
 |
| Figure 5: Representation of shadows under clear skies. Depth texture size: 8192 |
 |
 |
| Figure 6: Representation of shadows in hazy conditions. Depth texture size: 4096 |
The shadow anti-aliasing setting controls the smoothness of the edges of shadows. Enabling anti-aliasing results in a smooth display of shadow outlines without jaggedness.
 |
 |
| Figure 7: Shadows of sunlight filtering through 3D trees (left: without anti-aliasing / right: with anti-aliasing) |
"Settings for Time and Lighting"
In the "Home" menu, under "Drawing Options," on the "Time and Lighting" tab, checking the box labeled "Change the position of the sun and moon based on date and time" will cause the date and time settings to affect the display of shadows. For example, you can compare the shadows around the summer solstice with those around the winter solstice, allowing you to verify how the position, season, and time influence the appearance of shadows.
 |
 |
| Figure 8: Shadows around the summer solstice |
 |
 |
| Figure 9: Shadows around the winter solstice |
You can adjust the contrast by setting the "ambient light intensity." This allows you to make darker areas, which are in shadow, appear slightly brighter and easier to see, or conversely, to emphasize brighter areas.
By adjusting the ambient light and sunlight, it is also possible to express a sense of seasonality. For example, by setting the ambient light to a negative value and increasing the sunlight, you can create an image of a summer daytime scene.
 |
 |
| Figure 10: Ambient light intensity: 0% |
Figure 11: Ambient light intensity: 20% |
 |
 |
| Figure 12: Ambient light intensity: -20% |
Figure 13: Ambient light intensity: -20%, sunlight intensity: 100%, sky: skydome |
For indoor scenes or nightscapes, EyeLight allows you to adjust shadows and brightness.
 |
 |
| Figure 14: Ailite: 0% |
Figure 15: Ailite: 30% |
Finally,
The "shadow" and "lighting intensity" functions have enhanced the expression of shading and shadows. These drawing options are available in the Standard version, so please utilize them to create diverse expressions in your VR space.
|