Painted Shader: Difference between revisions
No edit summary |
Updated descriptions and example images for Transformation tab. Coordinate settings pending. |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[ | [[File:PaintedShdr_00_GUI.png|none|470px|Painted Shader]] | ||
__TOC__ | |||
==Overview== | |||
The Painted shader allows you to paint into your scene using the 3D Preview. You can paint surface colours, masks to control where a surface or cloud layer appears, the distribution of a population or even to generate surface displacement. | |||
The Painted shader requires a surface to paint on. | |||
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== | |||
[[File:PaintedShdr_01_BrushTab.png|none|470px|Brush Tab]] | |||
*'''Use absolute brush:''' When checked the brush will be a fixed size in metres. | |||
<ul> | |||
*'''Brush size in metres:''' This sets the size of the absolute brush. | |||
<ul> | |||
{| | |||
|- | |||
| [[File:PaintedShdr_05_ABS1000m.jpg|none|800px|Use absolute brush = 1000 metres]] | |||
|- | |||
| [[File:PaintedShdr_06_ABS100m.jpg|none|800px|Use absolute brush = 100 metres]] | |||
|} | |||
</ul> | |||
</ul> | |||
*'''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. | |||
<ul> | |||
*'''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. | |||
<ul> | |||
{| | |||
|- | |||
| [[File:PaintedShdr_07_REL0p1.jpg|none|800px|Use view-relative brush = 0.1]] | |||
|- | |||
| [[File:PaintedShdr_08_REL0P25.jpg|none|800px|Use view-relative brush = 0.25]] | |||
|} | |||
</ul> | |||
</ul> | |||
*'''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. | |||
<ul> | |||
{| | |||
|- | |||
| [[File:PaintedShdr_09_BrushFalloff0.jpg|none|800px|Brush falloff = 0]] | |||
|- | |||
| [[File:PaintedShdr_10_BrushFalloff0p75.jpg|none|800px|Brush falloff = 0.75]] | |||
|} | |||
</ul> | |||
*'''Flow:''' This setting controls how quickly the brush applies its paint. Lower numbers mean the brush has less effect. | |||
<ul> | |||
{| | |||
|- | |||
| [[File:PaintedShdr_11_Flow0p05.jpg|none|800px|Flow = 0.05]] | |||
|- | |||
| [[File:PaintedShdr_12_Flow1.jpg|none|800px|Flow = 1]] | |||
|} | |||
</ul> | |||
*'''Colour:''' Sets the colour of paint used by the brush. | |||
<ul> | |||
{| | |||
|- | |||
| [[File:PaintedShdr_13_ColourRed.jpg|none|800px|Colour = Red (sRGB 255,0,0)]] | |||
|- | |||
| [[File:PaintedShdr_14_ColourRGB.jpg|none|800px|Colour = red, green, blue. Each colour can be isolated and used as a mask independently.]] | |||
|} | |||
</ul> | |||
==Transform Tab== | |||
[[File:PaintedShdr_02_TransformTab.png|none|470px|Brush Tab]] | |||
The settings on this tab allow you to project and translate the Painted shader in various ways. | |||
<br /n> | |||
*'''Projection:''' This popup menu has four options in which to project the painted shader. | |||
<ul> | |||
[[File:PaintedShdr_04_TransformTab_Projection.png|none|203px|Projection options]] | |||
<u>3D:</u> When selected, the Painted shader conforms to the where the strokes were painted along the 3D surface.<br /n> | |||
<u>Plan Y:</u> When selected, the Painted shader is projected through the surface or cloud layer along the planar Y axis (top down). | |||
<br /n> | |||
<u>Plan X: </u> When selected, the Painted shader is projected through the surface or cloud layer along the X axis direction. | |||
<br /n> | |||
<u>Plan Z: </u> When selected, the Painted shader is projected through the surface or cloud layer along the Z axis.<br /n> | |||
{| | |||
|- | |||
| [[File:PaintedShdr_21_ProjectionCloud.jpg|none|400px|A cloud layer does not have a surface “per se” because it is volumetric, therefore you need a surface in which to create a Painted shader. ]] || [[File:PaintedShdr_22_ProjectionCube.jpg|none|400px|Any simple shape can be used to paint on, including a cube, sphere or ellipse that is approximately the same size as the cloud layer.]] | |||
|} | |||
[[File:PaintedShdr_20_Projection.jpg|none|800px|The Painted shader is painted on the cube, then applied to the cloud layer.]] | |||
</ul> | |||
*'''Coordinates: '''This popup menu has two options in order to select the texture coordinates of the painted shader. | |||
<ul> | |||
[[File:PaintedShdr_03_TransformTab_Coordinates.png|none|290px|Coordinates options]] | |||
<u>Final position:</u> <br /n> | |||
<u>Position in terrain/texture</u> <br /n> | |||
</ul> | |||
*'''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. | |||
<ul> | |||
[[File:PaintedShdr_19_Translate.jpg|none|800px|You can reposition the Painted shader on the surface of the object, terrain or cloud layer by entering a value in the Translate fields.]] | |||
</ul> | |||
<br /n> | |||
[[Category:Colour Shader]] | [[Category:Colour Shader]] | ||
Latest revision as of 23:47, 9 August 2021

Overview
The Painted shader allows you to paint into your scene using the 3D Preview. You can paint surface colours, masks to control where a surface or cloud layer appears, the distribution of a population or even to generate surface displacement. The Painted shader requires a surface to paint on.
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

- 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 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.
- 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.
- Flow: This setting controls how quickly the brush applies its paint. Lower numbers mean the brush has less effect.
- Colour: Sets the colour of paint used by the brush.
Transform Tab

The settings on this tab allow you to project and translate the Painted shader in various ways.
- Projection: This popup menu has four options in which to project the painted shader.

3D: When selected, the Painted shader conforms to the where the strokes were painted along the 3D surface.
Plan Y: When selected, the Painted shader is projected through the surface or cloud layer along the planar Y axis (top down).
Plan X: When selected, the Painted shader is projected through the surface or cloud layer along the X axis direction.
Plan Z: When selected, the Painted shader is projected through the surface or cloud layer along the Z axis.

- Coordinates: This popup menu has two options in order to select the texture coordinates of the painted shader.
- 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.













