VRayLensEffects render effect |
The VRayLensEffects is a render effect plugin used to simulate bloom and glare lens effects by fitlering the rendered image with a filter kernel. It uses fast multithreaded technique to compute the result. You can add it from 3ds Max plugins by pressing Rendering > Effects (or just press 8 and go to Effects tab), pressing Add... button and choosing VRay Lens Effects from the list.
Bloom
On - turns on the bloom lens effect.
Mode - determines if the bloom will be applied to the RGB image, stored in a separate render element, or both. Storing to a render element only works with the V-Ray VFB.
Weight - specifies the strength of the interpolation between the filtered image and the original image.
Size - specifies the size of the filter as percentage of the image's width.
Shape - specifies the fall off of the filter.
- enabling this option will add pixel data outside the edges of the original image. This will remove the darkening around the edges.
Glare
On - turns on the glare lens effect.
Mode - determines if the glare effect will be applied to the final image, stored into a separate render element, or both. Storing to a render element only works when the V-Ray VFB is enabled.
Glare type - this parameter specifies how the glare is computed. The possible values are:
From image - takes the image specified in Bitmap as filter kernel.
From render camera - takes the necessary parameters from the camera used to perform the rendeirng and automatically generates the filter kernel.
From camera parameters - takes the camera parameters specified in the VRayLensEffects render effect itself and automatically generates the filter kernel.
Fill edges - enabling this option will add pixel data outside the edges of the original image. This will remove the darkening around the edges.
Weight - specifies the strength of the interpolation between the filtered image and the original image.
Size - specifies the size of the filter as percentage of the image's width.
Bitmap - path to the filter kernel. Available if From Image option is selected. you can create filters using Filter generator which comes with V-Ray for 3ds Max instalation.
Turn on diffraction - this option will turn the diffraction on, producing colored patterns in the glare.
Use obstacle image - enable the use of the obstacle image specified in Obstacle.
Obstacle - path to the obstacle image. Available if Use obstacle image option is enabled.
Camera parameters
These parameters are used if the Glare type is specified as From camera parameters.
f-number - the f-number used to calculate the glare. Larger values produce smaller camera aperture and stronger glare effects.
Blades - this parameter controls if the camera aperture has any blades and how many they are. This effect directly controls the "rays" of the glare.
Blades rotation - this parameter controls the rotation of the of the camera aperture blades.