Skip to content

Commit

Permalink
feat(shaders): more type aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
loqusion committed May 6, 2024
1 parent 9aba379 commit d7779ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shaders/color-filter.glsl.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ const float intensity = float({{#nc}}{{strength}} ? 0.2{{/nc}});

// Enum for color correction type
const int PROTANOPIA = 0;
const int PROTAN = PROTANOPIA;
const int REDGREEN = PROTANOPIA;
const int DEUTERANOPIA = 1;
const int DEUTAN = DEUTERANOPIA;
const int GREENRED = DEUTERANOPIA;
const int TRITANOPIA = 2;
const int TRITAN = TRITANOPIA;
const int BLUEYELLOW = TRITANOPIA;

// Color correction type
Expand Down

0 comments on commit d7779ec

Please sign in to comment.