Geog Image Map Shader - Displacement Tab

From Terragen Documentation from Planetside Software
Revision as of 23:08, 3 March 2014 by Jo (talk | contribs) (Created page with "'''Description'''<br /> The Displacement tab has settings which control how the Geog Image Map Shader generates displacement from the loaded image. Displacement values are calcu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description
The Displacement tab has settings which control how the Geog Image Map Shader generates displacement from the loaded image.

Displacement values are calculated using the luminance of pixels in the image.


Settings:

  • Apply displacement: If this is checked the shader will generate displacement from the image.
  • Displacement amplitude: This scales the displacement values calculated from the image. A value of 1 leaves the displacement values unchanged. A value of 2 would make the displacement values twice as large. A value of 0.5 would make them half as large. Negative values will invert the displacement.
  • Displacement offset: This value is added to incoming displacement values after they are scaled by the Displacement amplitude parameter. This creates the effect of offsetting the displacement up or down. Positive values push the displacement out so it looks almost as if it was sitting on a plinth. Negative values will sink the displacement back into the underlying surface. It doesn't reverse the displacement, it's more like creating a hole in the surface and then applying the displacement to the bottom of the hole.
  • Smooth disp interpolation: Check this to smoothly interpolate displacement values from the image. If this is unchecked no interpolation is used and displacement is taken from the pixel at the point being shaded. This will give a blockier result than using smooth interpolation.
  • Convert disp to linear: If this radio button is checked then it's assumed the image is gamma corrected and a conversion is done to convert it to linear colour space before the displacement value is calculated. The gamma value used for conversion is specified in the Disp conversion gamma parameter below.
  • Disp data is linear: Check this radio button if the image is in linear colour space (i.e. it hasn't been gamma corrected).
  • Disp conversion gamma: This is the value used for gamma conversion if the Convert disp to linear radio button is checked.


Back to: Geog Image Map Shader