db&w documentation wiki

finest software | finest docs

Site Tools


tools:scratch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:scratch [2021/02/15 16:17] – [Outputs] lightwolftools:scratch [2021/03/07 13:15] (current) lightwolf
Line 1: Line 1:
-====== Scratch (in progress) ======+====== Scratch ======
 {{:tools:pasted:20210215-161314.png}} {{:tools:pasted:20210215-161314.png}}
  
 This node creates procedural scratches that can be used to drive material attributes. This node creates procedural scratches that can be used to drive material attributes.
-{{ :tools:pasted:20210215-160148.png}}+{{ :tools:pasted:20210216-144710.png}}
 ===== Controls ===== ===== Controls =====
 ==== Density ==== ==== Density ====
Line 38: Line 38:
  
 The Roughness value to send to the node output if no scratch is hit. The Roughness value to send to the node output if no scratch is hit.
 +
 +<WRAP left round info 50%>
 +If this value is used to drive the Roughness of the Principled BSDF material (or any other really), make sure that the sum of the Base Roughness, Scratch Roughness and Roughness Variation is not more than 100%.
 +</WRAP>
 +
  
 ==== Scratch Roughness ==== ==== Scratch Roughness ====
  
 The Roughness value to send to the node output if the current shaded spot is on a scratch. The Roughness value to send to the node output if the current shaded spot is on a scratch.
 +
 +==== Roughness Variation +/- ====
 +
 +This is the range that the Scratch Roughness will change from scratch to scratch based on the underlying noise. Use this to add some variance to the scratches.
 ==== Base Anisotropic ==== ==== Base Anisotropic ====
 The Anisotropic value to send to the node output if no scratch is hit. The Anisotropic value to send to the node output if no scratch is hit.
 +
 +<WRAP left round info 50%>
 +If this value is used to drive Anisotropic of the Principled BSDF material (or any other really), make sure that the sum of the Base Anisotropic, Scratch Anisotropic and Anisotropic Variation is not more than 100%.
 +</WRAP>
 +
 ==== Scratch Anisotropic ==== ==== Scratch Anisotropic ====
 The Anisotropic value to send to the node output if the current shaded spot is on a scratch. The Anisotropic value to send to the node output if the current shaded spot is on a scratch.
 +
 +==== Anisotropic Variation +/- ====
 +
 +This is the range that Scratch Anisotropic will change from scratch to scratch based on the underlying noise. Use this to add some variance to the scratches.
  
  
Line 51: Line 69:
  
 ==== Rotation Offset ==== ==== Rotation Offset ====
 +
 +This adds an offset to the Rotation output which can be used to control the direction of the anisotropic shading.
  
 {{:tools:scratchanirotate.mp4 |}} {{:tools:scratchanirotate.mp4 |}}
Line 74: Line 94:
 This outputs white if the spot is on a scratch, otherwise black. The Strength is also taken into account. This outputs white if the spot is on a scratch, otherwise black. The Strength is also taken into account.
  
 +{{:tools:pasted:20210215-181816.png}}
 +
 +----
 +[[https://www.patreon.com/dbw|{{  ::become_a_patron_button.png?nolink|}}]]
 +This is the plugin of the month for February 2021, made possible by the finest patrons on [[https://www.patreon.com/dbw|Patreon]].
  
 +Scratch is based on scratch.osl by John Su - https://github.com/cuckon/scratched
  
  
tools/scratch.1613402228.txt.gz · Last modified: 2021/02/15 16:17 by lightwolf