Browse Source

Merge pull request #17563 from Mugen87/dev38

TS: Add toneMapped to Material.d.ts.
Michael Herzog 5 years ago
parent
commit
e74ff40163
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/materials/Material.d.ts

+ 7 - 0
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.