Skip to content

Commit e74ff40

Browse files
authored
Merge pull request #17563 from Mugen87/dev38
TS: Add toneMapped to Material.d.ts.
2 parents c77b829 + 6c047a1 commit e74ff40

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/materials/Material.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export interface MaterialParameters {
4747
flatShading?: boolean;
4848
side?: Side;
4949
shadowSide?: Side;
50+
toneMapped?: boolean;
5051
transparent?: boolean;
5152
vertexColors?: Colors;
5253
vertexTangents?: boolean;
@@ -261,6 +262,12 @@ export class Material extends EventDispatcher {
261262
*/
262263
side: Side;
263264

265+
/**
266+
* Defines whether this material is tone mapped according to the renderer's toneMapping setting.
267+
* Default is true.
268+
*/
269+
toneMapped: boolean;
270+
264271
/**
265272
* Defines whether this material is transparent. This has an effect on rendering as transparent objects need special treatment and are rendered after non-transparent objects.
266273
* When set to true, the extent to which the material is transparent is controlled by setting it's .opacity property.

0 commit comments

Comments
 (0)