Bitmap
You can either create the node from scratch, or by dropping a bitmap in a supported format into the Graph view.
TIP
Generated or imported 8-bit bitmaps can be painted using the bitmap painting tools in the 2D view dock.
IMPORTANT
This node is dependent on an external resource, hence there are a few points to keep in mind when working with them:
- Bitmap nodes can return either color or grayscale, but defaults to color even if the resource is a grayscale bitmap. This can affect graph performance and complexity, so always make sure to switch to the ‘Grayscale’ color mode if needed.
- Deleting a bitmap node does not delete the Bitmap resource in your package, you have to manually do that in the Explorer.
- On the other hand, be careful when deleting a Bitmap resource in the Explorer: it will still work in the graph for that session as it is kept in cache, but the resource will be marked as missing the next time you load the package.
- When a Substance graph is cooked, the bitmap resolution will be fixed at its resolution inside the graph and not based on its original size. It is recommended to make sure the ‘Output size’ base parameter of a Bitmap node uses the ‘Absolute’ inheritance method, and the node is followed by a Transform 2D node set to ‘Relative to parent’ (I.e., the host graph’s resolution).
Parameters
Color mode Boolean
Determines the output type of the node, to either return in color or grayscale.
PKG resource path String
Path to the Bitmap resource being referenced by the node. It is recommended not to type manually but either copy a resource from the explorer and paste it in the parameter text field, or drag-and-drop a bitmap resource directly from the Explorer onto the Bitmap node in the graph…
Resize method Integer
The resampling method to use when up or downscaling a bitmap:
- Smooth stretch: Apply bilinear filtering to interpolate over the source pixels of the stretched image.
- Nearest stretch: Stretch the image and use the color of the nearest source pixel as is.
Bitmap painting tools
Bitmaps can be edited in Designer. Learn more about the editing tools in this section.
Output connectors
Output Grayscale/Color
Examples
Coming soon.
recommendation-more-help
dd48abc6-e399-43d2-9777-578ec70c5a23