Heightfield Shader - Colour Tab

From Terragen Documentation from Planetside Software
Revision as of 06:08, 22 May 2013 by Jo (talk | contribs)
Jump to: navigation, search
Heightfield Shader - Colour Tab

Description: The Colour tab has parameters that allow the shader to create colour information based on the heightfield. It's important to note that just turning on these parameters will not show any colour if the heightfield shader is connected into the terrain part of the node network in the normal fashion. You will also need to connect the heightfield shader output to a shader which handles colour information, for example by connecting it to the Colour function input of a Surface Layer shader.


Settings:

  • Apply colour and shade: Check this to allow the shader to generate colour information.
  • Diffuse colour: This sets the diffuse colour for the heightfield. This colour can be blended using the Shade by light and Shader by height parameters below, as well as the Border blending parameter on the Location tab.

  • Shade by light: TBC

  • Shade by height: If this is checked the Diffuse colour is blended depending on the heights of the heightfield. The lowest parts of the heightfield will be black and the highest parts will be the diffuse colour, with other heights being some shade inbetween.


Back to: Heightfield Shader

A shader is a program or set of instructions used in 3D computer graphics to determine the final surface properties of an object or image. This can include arbitrarily complex descriptions of light absorption and diffusion, texture mapping, reflection and refraction, shadowing, surface displacement and post-processing effects. In Terragen 2 shaders are used to construct and modify almost every element of a scene.

A heightmap or heightfield is an array of height values, usually in a grid which describe the height at specific points in a defined area. Heightfields are used to represent real-world and virtual terrain in a specific, easily converted format. Most heightfields can be represented as simple image data in grayscale, with black being minimum height and white being maximum height.

A parameter is an individual setting in a node parameter view which controls some aspect of the node.