Skip to content

Commit

Permalink
feat: Improve MeshPhysicalMaterial transmission support
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed May 31, 2021
1 parent 471095e commit bcd9de9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions types/three/src/materials/MeshPhysicalMaterial.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,24 @@ export class MeshPhysicalMaterial extends MeshStandardMaterial {
* @default null
*/
transmissionMap: Texture | null;

/**
* @default 0.01
*/
thickness: number;

/**
* @default null
*/
thicknessMap: Texture | null;

/**
* @default 0.0
*/
attenuationDistance: number;

/**
* @default Color( 1, 1, 1 )
*/
attenuationColor: Color;
}

0 comments on commit bcd9de9

Please sign in to comment.