Yotsuba Games
Back to Node List

Common Palette Ref

common_palette_ref

Output a tool-wide shared palette as a Palette value.

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Output Ports

NameTypeDescription
ใƒ‘ใƒฌใƒƒใƒˆ
palette
Palette
ๅ‚็…งใ—ใŸๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆใงใ™ใ€‚
ๆฆ‚่ฆ
summary
Text
ๅ‚็…งใ—ใŸๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆใฎ็Ÿญใ„่ชฌๆ˜Žใงใ™ใ€‚

Parameters

NameTypeDefaultRangeDescription / Options
ใ‚นใ‚ณใƒผใƒ—
scope
Enum
Toolโ€”

ใƒ„ใƒผใƒซๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆใ‚’ๅ‚็…งใ™ใ‚‹ใ‹ใ€ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆใ‚’ๅ‚็…งใ™ใ‚‹ใ‹ใ‚’้ธใณใพใ™ใ€‚

  • ใƒ„ใƒผใƒซๅ…ฑ้€šTool
    ใƒ„ใƒผใƒซๅ…จไฝ“ใฎใƒฆใƒผใ‚ถใƒผ่จญๅฎšใซไฟๅญ˜ใ•ใ‚Œใฆใ„ใ‚‹ๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆใ‚’ๅ‚็…งใ—ใพใ™ใ€‚
  • ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆๅ…ฑ้€šProject
    ็พๅœจใฎใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใƒ•ใ‚กใ‚คใƒซๅ†…ใซไฟๅญ˜ใ•ใ‚Œใฆใ„ใ‚‹ๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆใ‚’ๅ‚็…งใ—ใพใ™ใ€‚
ๅ‚็…งๅ…ˆ
source
Enum
Toolโ€”

ใฉใกใ‚‰ใฎๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆใ‚’ๅ‚็…งใ™ใ‚‹ใ‹ใ‚’้ธใณใพใ™ใ€‚

  • ้€šๅธธๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆTool
    ้€šๅธธใฎ่‰ฒ้ธๆŠžใซไฝฟใ†ใƒ„ใƒผใƒซๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆใ‚’ๅ‚็…งใ—ใพใ™ใ€‚
  • ๅ…ฑ้€šใ‚คใƒณใƒ‡ใƒƒใ‚ฏใ‚นใ‚ซใƒฉใƒผใƒ‘ใƒฌใƒƒใƒˆIndex
    ๅ…ฑ้€šใ‚คใƒณใƒ‡ใƒƒใ‚ฏใ‚นใ‚ซใƒฉใƒผใƒ‘ใƒฌใƒƒใƒˆใ‚’ๅ‚็…งใ—ใพใ™ใ€‚่จญๅฎšใง่‰ฒใ‚’ๅค‰ใˆใ‚‹ใจใ€ใ“ใฎใƒŽใƒผใƒ‰ใฎๅ‡บๅŠ›ใ‚‚ๅค‰ใ‚ใ‚Šใพใ™ใ€‚
ใƒ‘ใƒฌใƒƒใƒˆ
palette_id
Text
โ€”โ€”

ๅ‚็…งใ™ใ‚‹ๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆใงใ™ใ€‚็ฉบๆฌ„ใฎๅ ดๅˆใฏใ€็พๅœจใฎๆ—ขๅฎšๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆใ‚’ไฝฟใ„ใพใ™ใ€‚

ใƒ‘ใƒฌใƒƒใƒˆใƒ‡ใƒผใ‚ฟ
palette_data
CustomData
{"version":1,"colors":[]}โ€”

ใƒ•ใƒญใƒณใƒˆใ‚จใƒณใƒ‰ใŒใƒฆใƒผใ‚ถใƒผ่จญๅฎšใ‹ใ‚‰ๅทฎใ—่พผใ‚€ๅ†…้ƒจ็”จใฎ่‰ฒใƒ‡ใƒผใ‚ฟใงใ™ใ€‚

ๅ‚็…งๅ
resolved_name
Text
โ€”โ€”

ใƒ•ใƒญใƒณใƒˆใ‚จใƒณใƒ‰ใŒๅทฎใ—่พผใ‚€ใ€ๅฎŸ้š›ใซๅ‚็…งใ—ใŸใƒ‘ใƒฌใƒƒใƒˆๅใงใ™ใ€‚

Use this node to bring a palette registered as tool-wide or project-wide into the node graph as an ordinary Palette.

Overview

This is the connection point that brings a shared palette (tool-wide or project-wide, managed in the Shared Palette panel with Ctrl+Alt+P) into a graph. Unlike loading a file, this is a live reference: change one color in the panel, and every graph that references it is reevaluated and updated. It is the central node for managing colors consistently across a project.

Common pitfalls

  • A color change is not reflected: the referenced scope (tool/project) does not match the scope edited in the panel. Check the node's scope.
  • Colors disappeared when opening another project: ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆๅ…ฑ้€š is stored in the .ppl file. Register colors used across projects under ใƒ„ใƒผใƒซๅ…ฑ้€š.
  • Changing one color changes everything: instead of editing the panel directly, insert palette_edit downstream for a local override (see "Using shared colors as a base" below).

What to use it for

  • Use your standard colors consistently in every project
  • Create a palette specific to one project and save it with the project file
  • Connect a shared indexed-color palette to IndexedImage Apply Palette so preview colors follow edits in the indexed-color panel
  • Use a shared palette as a base, then adjust the colors slightly for one image

Key concept

This node does not load a file.
It live-references the shared palette in the selected scope.

  • ใƒ„ใƒผใƒซๅ…ฑ้€š is stored in user settings and is available from every project.
  • ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆๅ…ฑ้€š is stored in the current .ppl project file and is available only in that project.
  • Changing a color in the referenced shared palette also changes this node's output.
  • Insert Palette Edit downstream to override only the colors you need locally.
  • Colors not overridden in Palette Edit continue to follow changes in the original shared palette.

Usage

Using a project-wide indexed-color palette directly

  1. Create ๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆๅ‚็…ง.
  2. Set ใ‚นใ‚ณใƒผใƒ— to ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆๅ…ฑ้€š.
  3. Set ๅ‚็…งๅ…ˆ to ๅ…ฑ้€šใ‚คใƒณใƒ‡ใƒƒใ‚ฏใ‚นใ‚ซใƒฉใƒผใƒ‘ใƒฌใƒƒใƒˆ.
  4. Leave ใƒ‘ใƒฌใƒƒใƒˆ blank, or select the shared indexed-color palette you want.
  5. Connect the palette output to ๅทฎใ—ๆ›ฟใˆใƒ‘ใƒฌใƒƒใƒˆ on IndexedImage Apply Palette.

Now, changing a color in the indexed-color panel reevaluates and updates the colors in referencing images.

Using shared colors as a base with image-specific edits

Common Palette Ref
  โ†“
Palette Edit
  โ†“
IndexedImage Apply Palette

Only colors changed in Palette Edit become local overrides.
Unchanged colors continue to follow the shared palette.

Difference from Palette Load

ใƒ‘ใƒฌใƒƒใƒˆ่ชญ่พผ reads a color table from an external file.
A loaded file, a tool-wide palette, and a project-wide palette are treated as separate things.

ๅ…ฑ้€šใƒ‘ใƒฌใƒƒใƒˆๅ‚็…ง references a registered tool-wide or project-wide palette. Use it when changes to the shared palette should also update the reference in the graph.

Related nodes

  • palette_edit โ€” local overrides on a reference, combining shared and individual colors
  • indexed_image_apply_palette โ€” the companion for indexed-color workflows
  • palette_load โ€” loads an external file and is static
  • procedural_palette_ref โ€” references a procedural palette
Back to Node List
Common Palette Ref โ€” PixPipeline Node Reference