UberEnvironment: Difference between revisions
(Created page with '{maketoc} {img src="img/wiki_up/buynow.jpg" align=right link=http://www.daz3d.com/i.x/shop/itemdetails/-/?item=6337} UberEnvironment light shader and textures for allowing realis…') |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[File:BuyNow.jpg|right|link=http://www.daz3d.com/uberenvironment-light-shader]] | |||
UberEnvironment light shader and textures for allowing realistic lighting control in DAZStudio. | UberEnvironment light shader and textures for allowing realistic lighting control in DAZStudio. | ||
'''UberEnvironment is now included as part of DazStudio 4+. Also see the [[UberEnvironmentFAQs]] page for frequently asked questions''' | |||
'''[[UberEnvironment2]]''' is also available. | |||
==Product Description== | ==Product Description== | ||
[[File:UberEnvironment_pp01_lo.jpg]] | |||
UberEnvironment is a 3Delight light shader designed for Ambient and Environmental lighting effects through the use of | |||
UberEnvironment is a 3Delight light shader designed for Ambient and Environmental lighting effects through the use of ambient occlusion with optional bent normals, as well as [http://en.wikipedia.org/wiki/Image_based_lighting Image Based Lighting] using [http://en.wikipedia.org/wiki/High_dynamic_range_imaging HDRI] (Environment Maps). | |||
===Features=== | ===Features=== | ||
Line 35: | Line 38: | ||
===Parameters=== | ===Parameters=== | ||
{ | [[Image:UberEnvironment_sg_params.jpg|left]] | ||
| | {| border="1" | ||
Intensity| The intensity of the light | ! Parameters !! Description | ||
Intensity Scale| Light intensity multiplier | |- | ||
! Intensity | |||
Saturation| The saturation of the Color (Environment) Map. | | The intensity of the light | ||
Contrast| The contrast of the Color (Environment) Map. | |- | ||
! Intensity Scale | |||
Ray trace|(On/Off) This turns on ray tracing, which is a slow but accurate way of calculating shading using ambient occlusion. | | Light intensity multiplier | ||
Bent Normals| Do the Environment Map lookup using the ''bent normal''. This only applies when using a mapped light color. | |- | ||
Occlusion Strength| The strength of the occlusion effect (The darkness of the shadows). | ! colspan=2 | Map Controls | ||
Occlusion Color| The color of the occlusion effect (The color of the shadows). | |- | ||
Occlusion Samples| The number of rays used in the occlusion calculation. Higher number = Higher quality = Slower renders. | ! Saturation | ||
| The saturation of the Color (Environment) Map. | |||
Shading Rate| This is the shading rate used only for occlusion. Higher number = Lower quality = Faster renders | |- | ||
Max Error| The 3Delight Irradiance Max Error. Higher number = Lower quality = Faster renders | ! Contrast | ||
Maximum Trace Distance|The maximum distance a ray will be allowed to travel and be considered in occlusion. Smaller numbers will produce finer detail occlusion.| | | The contrast of the Color (Environment) Map. | ||
|- | |||
! colspan=2 | Raytracing | |||
|- | |||
! Ray trace | |||
| (On/Off) This turns on ray tracing, which is a slow but accurate way of calculating shading using ambient occlusion. | |||
|- | |||
! Bent Normals | |||
| Do the Environment Map lookup using the ''bent normal''. This only applies when using a mapped light color. | |||
|- | |||
! Occlusion Strength | |||
| The strength of the occlusion effect (The darkness of the shadows). | |||
|- | |||
! Occlusion Color | |||
| The color of the occlusion effect (The color of the shadows). | |||
|- | |||
! Occlusion Samples | |||
| The number of rays used in the occlusion calculation. Higher number = Higher quality = Slower renders. | |||
|- | |||
! colspan=2 | Advanced | |||
|- | |||
! Shading Rate | |||
| This is the shading rate used only for occlusion. Higher number = Lower quality = Faster renders | |||
|- | |||
! Max Error | |||
| The 3Delight Irradiance Max Error. Higher number = Lower quality = Faster renders | |||
|- | |||
! Maximum Trace Distance | |||
| The maximum distance a ray will be allowed to travel and be considered in occlusion. Smaller numbers will produce finer detail occlusion. | |||
|} | |||
For further information on the Advanced controls, see the [http://www.3delight.com/en/index.php/products/3delight/3delight_documentation 3Delight docs]. | |||
==Using UberEnvironment== | ==Using UberEnvironment== | ||
Line 60: | Line 92: | ||
===Ambient Occlusion Effects=== | ===Ambient Occlusion Effects=== | ||
[[Image:alert.png]] Ambient Occlusion uses ray tracing which can lead to long render times. | |||
[[Image:UberEnvironment_pp02_lo.jpg|frame| An ambient occlusion render]] | |||
The UberEnvironment shader can be used to achieve ambient occlusion effects. This can be done by doing the following: | The UberEnvironment shader can be used to achieve ambient occlusion effects. This can be done by doing the following: | ||
# | # Add an UberEnvironment light to your scene. | ||
# By default, the light will be setup to render with Ambient Occlusion. | # By default, the light will be setup to render with Ambient Occlusion. | ||
# Do a test render. | # Do a test render. | ||
Line 76: | Line 108: | ||
# Select one of the Environment Map presets (Sunset for example). | # Select one of the Environment Map presets (Sunset for example). | ||
# Turn ''raytracing'' off. If you are going for subtle ambient lighting, you may not need to take the hit for raytracing. | # Turn ''raytracing'' off. If you are going for subtle ambient lighting, you may not need to take the hit for raytracing. | ||
# | # [[Image:alert.png]] Rotating/Translating the light will not change the rendered image. Rotate the scene to get the desired placement of the Environment lighting. | ||
# If raytracing is necessary, turn it on and use the provided quality presets to optimize your render. | # If raytracing is necessary, turn it on and use the provided quality presets to optimize your render. | ||
====The Included Environment Maps==== | ====The Included Environment Maps==== | ||
[[Image:UberEnvironment_pp03map_med.jpg|frame|'''Figure 2''' Sample renders showing the '''4 included environment maps'''. The top two (''KHPark'' and ''Kitchen'') Are derived from HDR photos That I took. The bottom two were painted to get a specific effect.]] | |||
[[File:UberEnvironment_pp04_med.jpg|frame|'''Figure 3''']] '''Figure 3''' shows the '''original HDRI''' before they were made into Environment Maps. You will notice that the Environments are very small and blurry but this is intentional as we are simulating diffuse lighting with these maps. | |||
==Tips and Tricks== | ==Tips and Tricks== | ||
Line 98: | Line 129: | ||
===Creating Environment Maps=== | ===Creating Environment Maps=== | ||
[[Image:Tip.gif]] The '''omHdrConverter''' is now freely available on the [[Downloads]] page to make this process less painful. Technical details follow... | |||
In order to correctly create custom Environment Maps with UberEnvironment, the following must happen: | In order to correctly create custom Environment Maps with UberEnvironment, the following must happen: | ||
Line 104: | Line 137: | ||
* The source image can be in any tdlmake supported format; TIFF, JPEG, OpenEXR, HDR, etc. I use HDR. | * The source image can be in any tdlmake supported format; TIFF, JPEG, OpenEXR, HDR, etc. I use HDR. | ||
* For best results the source image should be ''convolved'' or spherically blurred in order to best simulate diffuse lighting. This can be done with a free application such as HDRShop. ('''Figure 3''' above shows the result of this process) | * For best results the source image should be ''convolved'' or spherically blurred in order to best simulate diffuse lighting. This can be done with a free application such as HDRShop. ('''Figure 3''' above shows the result of this process) | ||
* The 3Delight utility '''tdlmake''' must be run on the source image manually with the -envlatl option and output in .tif format in order to create an image that DazStudio can see, and that is optimized for 3Delight. For further information '''tdlmake''', see the [http://www.3delight.com/en/index.php/products/3delight/3delight_documentation | * The 3Delight utility '''tdlmake''' must be run on the source image manually with the -envlatl option and output in .tif format in order to create an image that DazStudio can see, and that is optimized for 3Delight. For further information '''tdlmake''', see the [http://www.3delight.com/en/index.php/products/3delight/3delight_documentation 3Delight docs ]. | ||
Latest revision as of 22:30, 3 January 2014
UberEnvironment light shader and textures for allowing realistic lighting control in DAZStudio.
UberEnvironment is now included as part of DazStudio 4+. Also see the UberEnvironmentFAQs page for frequently asked questions
UberEnvironment2 is also available.
Product Description
UberEnvironment is a 3Delight light shader designed for Ambient and Environmental lighting effects through the use of ambient occlusion with optional bent normals, as well as Image Based Lighting using HDRI (Environment Maps).
Features
- Ambient Occlusion
- Occlusion Samples
- Shading Rate control
- Irradiance Max Error
- Environment Mapping
- Bent Normal Support
- Saturation
- Contrast
- Included 4 HDR convolved lat/long Environment Maps
- KHPark_EnvM.tif
- Kitchen_EnvM.tif
- LightDome_EnvM.tif
- Sunset_EnvM.tif
- 5 Quality Presets for quick tuning of render time/image quality
- XLo
- Lo
- Med
- Hi
- XHi
Parameters
Parameters | Description |
---|---|
Intensity | The intensity of the light |
Intensity Scale | Light intensity multiplier |
Map Controls | |
Saturation | The saturation of the Color (Environment) Map. |
Contrast | The contrast of the Color (Environment) Map. |
Raytracing | |
Ray trace | (On/Off) This turns on ray tracing, which is a slow but accurate way of calculating shading using ambient occlusion. |
Bent Normals | Do the Environment Map lookup using the bent normal. This only applies when using a mapped light color. |
Occlusion Strength | The strength of the occlusion effect (The darkness of the shadows). |
Occlusion Color | The color of the occlusion effect (The color of the shadows). |
Occlusion Samples | The number of rays used in the occlusion calculation. Higher number = Higher quality = Slower renders. |
Advanced | |
Shading Rate | This is the shading rate used only for occlusion. Higher number = Lower quality = Faster renders |
Max Error | The 3Delight Irradiance Max Error. Higher number = Lower quality = Faster renders |
Maximum Trace Distance | The maximum distance a ray will be allowed to travel and be considered in occlusion. Smaller numbers will produce finer detail occlusion. |
For further information on the Advanced controls, see the 3Delight docs.
Using UberEnvironment
Ambient Occlusion Effects
Ambient Occlusion uses ray tracing which can lead to long render times.
The UberEnvironment shader can be used to achieve ambient occlusion effects. This can be done by doing the following:
- Add an UberEnvironment light to your scene.
- By default, the light will be setup to render with Ambient Occlusion.
- Do a test render.
Image Based Lighting Effects
UberEnvironment allows you to use a image map, or Environment Map as I will refer to it. This is an image file that describes light color and intensity based on direction.
- Select one of the Environment Map presets (Sunset for example).
- Turn raytracing off. If you are going for subtle ambient lighting, you may not need to take the hit for raytracing.
- Rotating/Translating the light will not change the rendered image. Rotate the scene to get the desired placement of the Environment lighting.
- If raytracing is necessary, turn it on and use the provided quality presets to optimize your render.
The Included Environment Maps
Figure 3 shows the original HDRI before they were made into Environment Maps. You will notice that the Environments are very small and blurry but this is intentional as we are simulating diffuse lighting with these maps.
Tips and Tricks
- Raytraced effects get slower as the geometry increases in the scene. If there is geometry (props, characters) that are in your scene and not contributing to the final image, make it invisible or delete it.
- Use the quality control presets often. Always start with the lowest quality that will work to approximate the effect before bumping up the quality.
- It is often very useful to turn off all other lights in the scene until you have roughed in general light direction/intensity.
- Only ever use one UberEnvironment in a scene.
- When using Environment Maps, turn off raytracing initially. When you are satisfied with your light placement after doing some test renders, turn raytracing back on for the full effect.
Developer Notes
Creating Environment Maps
The omHdrConverter is now freely available on the Downloads page to make this process less painful. Technical details follow...
In order to correctly create custom Environment Maps with UberEnvironment, the following must happen:
- The map must be in Lat/Long (or latitude/longitude) format.
- The source image can be in any tdlmake supported format; TIFF, JPEG, OpenEXR, HDR, etc. I use HDR.
- For best results the source image should be convolved or spherically blurred in order to best simulate diffuse lighting. This can be done with a free application such as HDRShop. (Figure 3 above shows the result of this process)
- The 3Delight utility tdlmake must be run on the source image manually with the -envlatl option and output in .tif format in order to create an image that DazStudio can see, and that is optimized for 3Delight. For further information tdlmake, see the 3Delight docs .