World Environment

../../_images/render_lights_world_environment-lighting.jpg

使用 HDR 图像进行照明。

The world defines the environment that the scene is in. The surface shader sets the background and environment lighting, either as a fixed color, sky model or HDRI texture. With volume shaders the entire scene can be covered in mist or other volumetric effects.

参考

面板:世界环境 ‣ 面

表面着色器定义了从环境照射到场景中的光照。环境表面的渲染似乎是在场景内容十分遥远的地方,而且这意味着在场景物体与环境背景之间不会产生双向作用,只是光照可以进入而已。唯一支持的着色器就是具有输入接口的Background(背景)结点,以及决定光线密度的强度因数。

基于图像照明

For image based lighting, use the Environment Texture node rather than the Image Texture node for correct mapping. This supports Equirectangular (also known as latitude/longitude) for environment maps, and Mirror Ball mapping for converting photos of mirror balls to environment maps.

体积

参考

面板:面板: 世界环境 ‣ 体积

体着色器可以在整个世界中应用,它会填满整个空间。

Currently this is most useful for night time or other dark scenes, as the world surface shader or sun lights will have no effect if a volume shader is used. This is because the world background is assumed to be infinitely far away, which is accurate enough for the sun for example. However, for modeling effects such as fog or atmospheric scattering, it is not a good assumption that the volume fills the entire space, as most of the distance between the sun and the earth is empty space. For such effects it is be better to create a volume object surrounding the scene. The size of this object will determine how much light is scattered or absorbed.