Painted Shader

From Terragen Documentation from Planetside Software
Revision as of 23:01, 6 August 2021 by Redmaw (talk | contribs) (Updated page with example images for Brush tab. Transform tab examples coming soon.)
Jump to navigation Jump to search
Painted Shader
Painted Shader


Overview

The Painted shader allows you to paint into your scene using the 3D Preview. Amongst other things you can paint colours for a surface, a mask to control where a surface or clouds appear, the distribution of a population or you could use the shader to generate displacement on a surface.

For more information about using the Painted shader please read the Painted Shader Guide.

Settings:

  • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Painted shader nodes in a project.
  • Enable: When checked, the node is active and the settings below will affect the surface. When unchecked, the node is ignored.
  • Clear button: Clicking this button will delete all the painted strokes for the shader.


Brush Tab

Brush Tab
Brush Tab


  • Use absolute brush: When checked the brush will be a fixed size in metres.
    • Brush size in metres: This sets the size of the absolute brush.
      Use absolute brush = 1000 metres
      Use absolute brush = 1000 metres
      Use absolute brush = 100 metres
      Use absolute brush = 100 metres


  • Use view-relative brush: When checked, the size of the brush will change depending on where you paint. It will stay a consistent size relative to the size of 3D Preview but when you paint further away from the camera it will be larger and vice versa.
    • View-relative brush size: This sets the size of the view-relative brush. The size is relative to the horizontal field of view of the 3D Preview. Smaller numbers make the the brush smaller. For example a value of 0.1 means the brush is 10% of the view width and a value of 0.5 would mean it was 50% of the view width.
      Use view-relative brush = 0.1
      Use view-relative brush = 0.1
      Use view-relative brush = 0.25
      Use view-relative brush = 0.25


  • Brush falloff: This controls the opacity of the brush from the centre to edge. A value of 1 means the brush smoothly moves from transparent at the edge to opaque in the centre. A value of 0 means the brush is completely opaque.
    Brush falloff = 0
    Brush falloff = 0
    Brush falloff = 0.75
    Brush falloff = 0.75


  • Flow: This setting controls how quickly the brush applies its paint. Lower numbers mean the brush has less effect.
    Flow = 0.05
    Flow = 0.05
    Flow = 1
    Flow = 1


  • Colour: Sets the colour of paint used by the brush.
    Colour = Red (sRGB 255,0,0)
    Colour = Red (sRGB 255,0,0)
    Colour = red, green, blue. Each colour can be isolated and used as a mask independently.
    Colour = red, green, blue. Each colour can be isolated and used as a mask independently.


Transform Tab

Brush Tab
Brush Tab


  • Projection: This popup menu has four options in which to project the painted shader.
    Projection options
    Projection options

    3D:
    Plan Y:
    Plan X:
    Plan Z:


  • Coordinates: This popup menu has two options in order to select the texture coordinates of the painted shader.
    Coordinates options
    Coordinates options

    Final position:
    Position in terrain/texture


  • Translate: Sets the position of the origin of the shader. You can use this to move the shader after you've finished painting it or even reposition it while you are painting.