Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
bordertrue


Column
width26

Node Location: Material


540
Column
width30

Description

This node will detect the areas of shadow in an input colour map and generate a mask to aid in the removal of it, or to facilitate the adjustment of these ultimately remove those areas. 

It can be supplemented with the addition of a scanned height map for added accuracy.Once satisfied with the mask created pressing the Remove Shadows button will fill these areas with relevant information, although there is a known issue where the height map isn't always generating an improved mask.


Parameters

Inputs: 
    • Color Bitmap:
      Node accepts single bitmaps
    • Height Map:
      A baked height map sourced from scans can add accuracy to result

  • Properties:
    • Threshold:
      This slider will adjust the generated mask. Larger values will encompass wider areas of shadow



How to use

height

Content aware fill allows you to fill in areas of your inputs in a smart way. If there are areas/features you want to remove, just paint a mask over them and run the content aware fill node.

Add input bitmap or material to the node graph
Connect the input to the first port on the Content-Aware Fill node
Connect a binary mask to the 'Fill Mask' port on the Content-Aware Fill node
Select the feathering (area that will be impacted by the content aware fill (values are in pixels)
  • Execute the node
  • With the use of the mask paint node you can manually create your own masks. How a structure guide mask and a fill mask should be created are covered there.

    Image Removed

    Expand
    titleStep by step guide
    Widget Connector
    width960
    urlhttps://www.youtube.com/watch?v=tHX_qj5SmQ4

    This node will identify areas of shadow and then remove them from your texture map.


    1. Add colour map containing shaded information to the node graph

    2. [Optional] Add a height map and check on ‘Use Height Map’ in the Hard Shadow Removal node

    3. Connect the maps to their respective ports on the Hard Shadow Removal node

    4. Adjust the threshold slider until reaching a satisfactory mask
      1. Higher values will generate masks encompassing wider areas

    5. Press the Remove Shadows button to execute the node and remove the masked areas.