Skip to content

A scattering of color concepts we're investigating for Graphite #4

@Keavon

Description

@Keavon

Just pasting this here so it's something that can be referenced more publicly. These are a number of loosely organized concepts we've been brainstorming for potential future use with Graphite's use of color. @TrueDoctor was specifically interested in investigating how far it might be possible to encode some or all of these using Rust's traits system.

  • Allows None
  • Allows transparency
  • Alpha association
    • Albedo + Translucency (straight)
    • Emission + Occlusion (premult)
  • Gamma curve
  • Color model
  • Color space (primaries incl. white point)
  • SDR or HDR
  • HDR luminance
  • Number of channels
  • Bit depth per channel
  • Luminance calculation method
  • Additive or subtractive (RGB vs CMYK)
  • Transfer function (PQ/HLG)?
  • Chroma subsampling?
  • Spectral?
  • PBR material channels (albedo, emission, roughness, metalness, normal map)?
  • Whether it's a (0 to 1) fraction of reflectance (used for PBR)

Separately, gradients should be considered for how they interpolate and how mapping operations can be applied to them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions