From 6c047a159bacd5b317d5a1ad2102eb495bdaa7fb Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Tue, 24 Sep 2019 13:41:17 +0200 Subject: [PATCH] TS: Add toneMapped to Material.d.ts. --- src/materials/Material.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/materials/Material.d.ts b/src/materials/Material.d.ts index 407df0c9d9..36f7282fab 100644 --- a/src/materials/Material.d.ts +++ b/src/materials/Material.d.ts @@ -47,6 +47,7 @@ export interface MaterialParameters { flatShading?: boolean; side?: Side; shadowSide?: Side; + toneMapped?: boolean; transparent?: boolean; vertexColors?: Colors; vertexTangents?: boolean; @@ -261,6 +262,12 @@ export class Material extends EventDispatcher { */ side: Side; + /** + * Defines whether this material is tone mapped according to the renderer's toneMapping setting. + * Default is true. + */ + toneMapped: boolean; + /** * 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. * When set to true, the extent to which the material is transparent is controlled by setting it's .opacity property. -- GitLab