Module necro.render.filter.MaterialColorFilter

Classes

Args
AuxLayer
Palette

Functions

getPath (args)
getPathMultiFrame (args)


Classes

Args
: MaterialColorFilter.Palette
  • image string Image to use as a template
AuxLayer
  • channel integer Color to multiply for computing this auxiliary layer's weight
Palette
  • materialColor integer|integer[] Primary color/gradient to replace gray pixels in the main layer with
  • handleColor integer Secondary material color to replace brown pixels in the main layer with
  • gripColor integer Tertiary color to replace blue pixels in the main layer with
  • tipColor integer Auxiliary color to replace cyan pixels in the main layer with
  • guardColor integer Auxiliary color to replace magenta pixels in the main layer with
  • detailColor integer Detailing color to replace green pixels in the main layer with
  • shineColor integer Overlay color for reflections. Applies to a specific color channel from the shine layer
  • shineChannel integer Per-channel color weights for the shine layer, resulting in different shine patterns
  • glowColor integer Color to apply to all visible glow pixels
  • glowThreshold number Minimum brightness value required for glow pixels to show up
  • auxLayers MaterialColorFilter.AuxLayer[] Additional layers for various details
  • silhouette integer|nil Color to apply to all pixels of the main layer

Functions

getPath (args)

Parameters:

  • args MaterialColorFilter.Args

Returns:

    string
getPathMultiFrame (args)

Parameters:

  • args MaterialColorFilter.Args[]

Returns:

    string
generated by LDoc 1.4.6