Skip to content

Commit

Permalink
chore: remove gamma
Browse files Browse the repository at this point in the history
  • Loading branch information
Walther committed Oct 18, 2023
1 parent d601a9b commit d0c2c80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
8 changes: 0 additions & 8 deletions clovers-front/src/Forms/RenderOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export type RenderOptions = {
height: number;
samples: number;
max_depth: number;
gamma: number;
quiet: boolean;
normalmap: boolean;
};
Expand All @@ -18,7 +17,6 @@ export const defaultRenderOptions: RenderOptions = {
height: 1024,
samples: 10,
max_depth: 100,
gamma: 2.0,
quiet: false,
normalmap: false,
};
Expand Down Expand Up @@ -86,12 +84,6 @@ export const RenderOptionsForm = ({
path={path}
setState={setState}
/>
<NumberInput
fieldname="gamma"
object={object}
path={path}
setState={setState}
/>
<CheckboxInput
fieldname="normalmap"
object={object}
Expand Down
3 changes: 1 addition & 2 deletions render_scene.rest
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ content-type: application/json
"height": 1024,
"samples": 10,
"max_depth": 100,
"gamma": 2.0,
"quiet": false,
"normalmap": false
},
Expand Down Expand Up @@ -199,4 +198,4 @@ content-type: application/json
}
]
}
}
}

0 comments on commit d0c2c80

Please sign in to comment.