palette-restrictor

Clamps output TOP colors to a specific palette

This TOP component runs a texture through a shader to limit the output colors to only those in the second TOP.

Inputs ◀ 

  1. A texture which will be transformed
  2. A texture which contains one pixel for each color that will be in the output texture

Outputs ▶

  1. A texture with a restricted color palette

Parameters ☑ 

None! 🚫🚫🚫 

Downloads: 532

Created at: 6.1.2021

Uploaded: 6.1.2021
changes distance to the 
float currDist = dot(startingCol - pCol, startingCol - pCol);
which is a sizable speedup for higher res inputs
Download