11// Looks: ready-made global settings. Applying one resets the global sections to
2- // their defaults and blends the look in with the requested strength; geometry
3- // and local retouching are left alone.
2+ // their defaults and blends the look in with the requested strength; geometry,
3+ // local retouching and the stencil are left alone.
44import { DEFAULT_EDIT , GLOBAL_SECTIONS } from '../state/defaults.js' ;
55
6+ export const LOOK_GROUPS = [
7+ { id : 'essentials' , label : 'Essentiels' } ,
8+ // Tuned on game captures as much as on photos: haze removal, lens defects,
9+ // depth of field and grain are what a real camera adds.
10+ { id : 'photo' , label : 'Photo réaliste' } ,
11+ { id : 'bw' , label : 'Noir et blanc' } ,
12+ ] ;
13+
614export const LOOKS = [
7- { id : 'original' , label : 'Original' , values : { } } ,
15+ { id : 'original' , group : 'essentials' , label : 'Original' , values : { } } ,
816 {
917 id : 'portrait' ,
18+ group : 'essentials' ,
1019 label : 'Portrait' ,
1120 values : {
1221 tune : { brightness : 8 , shadows : 20 , highlights : - 12 , temperature : 8 , vibrance : 15 , saturation : - 5 } ,
@@ -16,6 +25,7 @@ export const LOOKS = [
1625 } ,
1726 {
1827 id : 'landscape' ,
28+ group : 'essentials' ,
1929 label : 'Paysage' ,
2030 values : {
2131 tune : { contrast : 15 , highlights : - 30 , shadows : 25 , vibrance : 35 } ,
@@ -25,13 +35,15 @@ export const LOOKS = [
2535 } ,
2636 {
2737 id : 'bright' ,
38+ group : 'essentials' ,
2839 label : 'Lumineux' ,
2940 values : {
3041 tune : { brightness : 25 , contrast : - 10 , highlights : - 25 , shadows : 30 , temperature : 6 , vibrance : 15 } ,
3142 } ,
3243 } ,
3344 {
3445 id : 'hdr-natural' ,
46+ group : 'essentials' ,
3547 label : 'HDR naturel' ,
3648 values : {
3749 tune : { highlights : - 20 , shadows : 15 } ,
@@ -40,6 +52,7 @@ export const LOOKS = [
4052 } ,
4153 {
4254 id : 'hdr-strong' ,
55+ group : 'essentials' ,
4356 label : 'HDR intense' ,
4457 values : {
4558 details : { structure : 25 } ,
@@ -48,6 +61,7 @@ export const LOOKS = [
4861 } ,
4962 {
5063 id : 'drama' ,
64+ group : 'essentials' ,
5165 label : 'Drame' ,
5266 values : {
5367 tune : { contrast : 20 , saturation : - 35 } ,
@@ -57,6 +71,7 @@ export const LOOKS = [
5771 } ,
5872 {
5973 id : 'matte' ,
74+ group : 'essentials' ,
6075 label : 'Mat' ,
6176 values : {
6277 tune : { contrast : - 15 , blacks : 35 , saturation : - 15 } ,
@@ -65,6 +80,7 @@ export const LOOKS = [
6580 } ,
6681 {
6782 id : 'film' ,
83+ group : 'essentials' ,
6884 label : 'Film' ,
6985 values : {
7086 tune : { contrast : 12 , highlights : - 20 , blacks : 15 , saturation : - 10 , temperature : 5 } ,
@@ -74,6 +90,7 @@ export const LOOKS = [
7490 } ,
7591 {
7692 id : 'vintage' ,
93+ group : 'essentials' ,
7794 label : 'Vintage' ,
7895 values : {
7996 tune : { contrast : - 10 , blacks : 25 , saturation : - 25 , temperature : 25 } ,
@@ -83,21 +100,93 @@ export const LOOKS = [
83100 } ,
84101 {
85102 id : 'teal-orange' ,
86- label : 'Ciné' ,
103+ group : 'essentials' ,
104+ label : 'Teal & orange' ,
87105 values : {
88106 tune : { contrast : 15 , vibrance : 15 , highlights : - 15 } ,
89107 split : { shadowHue : 195 , shadowAmount : 45 , highlightHue : 30 , highlightAmount : 40 , balance : 10 } ,
90108 } ,
91109 } ,
92110 {
93111 id : 'cold' ,
112+ group : 'essentials' ,
94113 label : 'Froid' ,
95114 values : {
96115 tune : { contrast : 10 , highlights : - 10 , temperature : - 25 , tint : 5 , saturation : - 10 } ,
97116 } ,
98117 } ,
118+ {
119+ id : 'realistic' ,
120+ group : 'photo' ,
121+ label : 'Réaliste' ,
122+ values : {
123+ tune : { contrast : 12 , highlights : - 20 , shadows : 10 , vibrance : 15 , saturation : - 5 , temperature : 3 } ,
124+ details : { structure : 12 , sharpen : 25 , dehaze : 35 } ,
125+ effects : { glow : 6 , vignette : - 20 , grain : 12 , grainSize : 25 } ,
126+ lens : { aberration : 25 } ,
127+ } ,
128+ } ,
129+ {
130+ id : 'golden-hour' ,
131+ group : 'photo' ,
132+ label : 'Heure dorée' ,
133+ values : {
134+ tune : { contrast : 12 , highlights : - 20 , shadows : 12 , vibrance : 12 , temperature : 30 , tint : 6 } ,
135+ details : { dehaze : 20 } ,
136+ split : { shadowHue : 220 , shadowAmount : 10 , highlightHue : 35 , highlightAmount : 30 } ,
137+ effects : { glow : 22 , vignette : - 22 } ,
138+ lens : { aberration : 15 } ,
139+ } ,
140+ } ,
141+ {
142+ id : 'telephoto' ,
143+ group : 'photo' ,
144+ label : 'Téléobjectif' ,
145+ values : {
146+ tune : { contrast : 15 , highlights : - 20 , vibrance : 18 } ,
147+ details : { structure : 15 , sharpen : 30 , dehaze : 40 } ,
148+ effects : { vignette : - 15 , grain : 8 } ,
149+ lens : { blur : 30 , size : 40 , transition : 50 , bokeh : 40 , aberration : 15 } ,
150+ } ,
151+ } ,
152+ {
153+ id : 'cinema' ,
154+ group : 'photo' ,
155+ label : 'Cinéma' ,
156+ values : {
157+ tune : { contrast : 20 , highlights : - 25 , shadows : 8 , saturation : - 12 , vibrance : 10 } ,
158+ details : { dehaze : 25 } ,
159+ split : { shadowHue : 195 , shadowAmount : 35 , highlightHue : 32 , highlightAmount : 30 } ,
160+ effects : { glow : 10 , vignette : - 30 , grain : 15 } ,
161+ lens : { aberration : 20 } ,
162+ } ,
163+ } ,
164+ {
165+ id : 'reportage' ,
166+ group : 'photo' ,
167+ label : 'Reportage' ,
168+ values : {
169+ tune : { contrast : 22 , highlights : - 15 , blacks : - 10 , saturation : - 20 } ,
170+ details : { structure : 22 , sharpen : 20 , dehaze : 25 } ,
171+ effects : { vignette : - 25 , grain : 30 } ,
172+ lens : { aberration : 20 } ,
173+ } ,
174+ } ,
175+ {
176+ id : 'analog' ,
177+ group : 'photo' ,
178+ label : 'Argentique' ,
179+ values : {
180+ tune : { contrast : 8 , highlights : - 25 , blacks : 18 , saturation : - 12 , temperature : 6 } ,
181+ details : { dehaze : 10 } ,
182+ split : { shadowHue : 185 , shadowAmount : 15 , highlightHue : 40 , highlightAmount : 15 } ,
183+ effects : { glow : 10 , vignette : - 15 , grain : 35 , grainSize : 45 } ,
184+ lens : { aberration : 10 } ,
185+ } ,
186+ } ,
99187 {
100188 id : 'bw' ,
189+ group : 'bw' ,
101190 label : 'N&B' ,
102191 values : {
103192 tune : { contrast : 20 } ,
@@ -106,6 +195,7 @@ export const LOOKS = [
106195 } ,
107196 {
108197 id : 'bw-contrast' ,
198+ group : 'bw' ,
109199 label : 'N&B contrasté' ,
110200 values : {
111201 tune : { contrast : 45 , blacks : - 20 } ,
@@ -116,6 +206,7 @@ export const LOOKS = [
116206 } ,
117207 {
118208 id : 'noir' ,
209+ group : 'bw' ,
119210 label : 'Noir' ,
120211 values : {
121212 tune : { contrast : 30 } ,
@@ -125,6 +216,7 @@ export const LOOKS = [
125216 } ,
126217 {
127218 id : 'sepia' ,
219+ group : 'bw' ,
128220 label : 'Sépia' ,
129221 values : {
130222 tune : { contrast : 10 } ,
0 commit comments