Skip to content

Commit

Permalink
Rename OPTIMIZED_CINEON to CINEON
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Sep 6, 2024
1 parent ff233a6 commit 4a8417d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/effects/ToneMappingEffect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export class ToneMappingEffect extends Effect {
defines.set("toneMapping(texel)", "ReinhardToneMapping(texel)");
break;

case ToneMapping.OPTIMIZED_CINEON:
defines.set("toneMapping(texel)", "OptimizedCineonToneMapping(texel)");
case ToneMapping.CINEON:
defines.set("toneMapping(texel)", "CineonToneMapping(texel)");
break;

case ToneMapping.ACES_FILMIC:
Expand Down
2 changes: 1 addition & 1 deletion src/enums/ToneMapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export enum ToneMapping {
* @see http://filmicworlds.com/blog/filmic-tonemapping-operators
*/

OPTIMIZED_CINEON,
CINEON,

/**
* ACES filmic tone mapping with a scale of 1.0/0.6.
Expand Down

0 comments on commit 4a8417d

Please sign in to comment.