VRAY SETTINGS ALEX HOEGREFE CODE
Smits, A Practical Analytic Model for Daylight, SIGGRAPH 1999, Computer Graphics Proceedings An online version can be found at This paper includes source code examples and is the base for the V-Ray Sun and V-Ray Sky plugins. Here is a list of links and references about the V-Ray Sun and Sky implementation, as well as general information about the illumination of the Sun. Using the V-Ray Physical Camera with suitable values also produces a correct result without changing the Sun and Sky parameters.Įnabling Modo's built-in Physical Sun settings in addition to V-Ray Sun/Sky allows for precise control over time of day. You can either use Color Mapping to bring these values to a smaller range (which is the preferred way) or you can use the Intensity Multiplier to make the sun and sky less bright. This is quite correct from a physical point of view, but is not enough for a nice image. Since the image output in V-Ray is in W/m^2/sr, you will typically find that the average RGB values produced by the sun and the sky are about 200.0-300.0 units.
In the real world, the average solar irradiance is about 1000 W/m^2 ( see the references below). Use Local Subdivs must be enabled in the DMC Sampler to specify Shadow subdivs at this level.Ĭommon settings in this example are Intensity multiplier: 1, Size multiplier: 5.0īy default, the V-Ray Sun and V-Ray Sky are very bright. More subdivs produce area shadows with better quality but render slower. Shadow Subdivs – Controls the number of samples for the area shadow of the sun. This is useful to prevent bright speckles on glossy surfaces where a ray with low probability hits the extremely bright sun disk. Invisible – When enabled, the sun becomes invisible to both the camera and reflections. Allows the user to manually lower the horizon line. Horizon Offset – Specifies an offset for the horizon under the sky-dome. Values close to 0.0 produce a sharper horizon line, while large values produce a softer horizon line. Ground Albedo – Sets the ground color of the V-Ray Sun and Sky system.īlend Angle – Specifies the angle in degrees up from the horizon where the sky starts to blend with the ground albedo. Horiz Illum – Specifies the intensity (in lx) of the illumination on horizontal surfaces coming from a CIE Clear or CIE Overcast sky model.įilter Color – Shifts the hue of the V-Ray Sun and Sky system towards the color specified in the field. CIE Overcast – The V-Ray Sky procedural texture will be generated based on the CIE method for cloudy sky. CIE Clear – The V-Ray Sky procedural texture will be generated based on the CIE method for clear sky. – The V-Ray Sky procedural texture will be generated based on the Preetham et al.
– The V-Ray Sky procedural texture will be generated based on the Hosek et al. In order to have the Sky texture rendered, you need to select Physically-based Daylight as the Environment Type in the Modo Environment material. Sky Model – Specifies the procedural model that will be used to generate the V-Ray Sky texture. Water Vapour – Controls the amount of water vapor in the atmosphere which affects the sky color. For more information, see Example: Size Multiplier. This affects the appearance of the sun disc as seen by the camera and in reflections, as well as the blurriness of the sun's shadows. Size Multiplier – Controls the visible size of the sun. For more information, see Example: Ozone Value below. Smaller values make the sunlight more yellow, while larger values make it blue. Available in the range between 0.0 and 1.0. Ozone – Affects the color of the sun light.
Smaller values produce a clear, blue sky and sun as seen in rural areas, while larger values make them yellow and orange as seen in a big city's atmosphere. Turbidity – Determines the amount of dust in the air and affects the color of the sun and sky. See the Notes section below for more information. Used to reduce the sun's brightness, because by default it can be very bright. Intensity Multiplier – The multiplier for the V-Ray Sun's intensity.
VRAY SETTINGS ALEX HOEGREFE HOW TO
See the Lights page for information on how to do this. To create a V-Ray Sun you need to add the V-Ray Sun/Sky package to a Modo directional light.