From 9a6bdbf2398c8266b438ce288b141f1a443ad87a Mon Sep 17 00:00:00 2001 From: 0b5vr <0b5vr@0b5vr.com> Date: Tue, 1 Mar 2022 17:33:33 +0900 Subject: [PATCH] change (Material): remove `alphaWrite` (#167) * fix(WebXRManager): setAnimationLoop should accept null like WebGLRenderer (#158) * fix: Missing Property in Raycaster (#160) * Fix Missing Property in Raycaster Adds uv2 to Intersection interface to more accurately reflect the original documentation. See: (https://threejs.org/docs/#api/en/core/Raycaster.intersectObject)[https://threejs.org/docs/#api/en/core/Raycaster.intersectObject] This has been submitted in response to Josh's request in (this PR)[https://github.com/DefinitelyTyped/DefinitelyTyped/pull/58462] * Add name to contributors * r137 (#162) * feat: autodetect sRGB compression * feat: remove inline sRGB decode * chore: remove roughness mipmapper * feat: added constant SRGB8 * feat: WebGLCubeUVMaps: Add support for render targets * chore: Remove RGBFormat (#159) * change: Remove RGBFormat See: https://github.com/mrdoob/three.js/pull/23223 See: https://github.com/mrdoob/three.js/pull/23228 * change: Remove .format from Material See: https://github.com/mrdoob/three.js/pull/23219 It will be replaced with .alphaWrite later See: https://github.com/mrdoob/three.js/pull/23166 * test: remove use of RGBFormat from a test case * feat: add LDrawUtils * chore: make ConvexGeometry points optional * chore: remove RGBIntegerFormat * feat: Box3 now supports computing minimal bounds for setFromObject * feat(Material): Add a new property .alphaWrite (#161) Since it's undocumented I could not fill the doc comment properly,,, See: https://github.com/mrdoob/three.js/pull/23166 * chore: remove UnsignedShort565Type * chore: remove RoomEnvironment from OTHER_FILES * chore: remove LDrawLoader from OTHER_FILES * chore: fix linting * chore: fix linting Co-authored-by: 0b5vr <0b5vr@0b5vr.com> * feat: add PackedPhongMaterial * fix: Scene Utils are not in namespace resolves #153 * r137 * change (Material): remove `alphaWrite` See: https://github.com/mrdoob/three.js/pull/23361 Co-authored-by: Cody Bennett Co-authored-by: Joe Tipping <39060404+Gallahron@users.noreply.github.com> Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com> --- types/three/src/materials/Material.d.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/types/three/src/materials/Material.d.ts b/types/three/src/materials/Material.d.ts index c445f7dd3..ae447ddad 100644 --- a/types/three/src/materials/Material.d.ts +++ b/types/three/src/materials/Material.d.ts @@ -80,11 +80,6 @@ export class Material extends EventDispatcher { */ alphaToCoverage: boolean; - /** - * @default false - */ - alphaWrite: boolean; - /** * Blending destination. It's one of the blending mode constants defined in Three.js. Default is {@link OneMinusSrcAlphaFactor}. * @default THREE.OneMinusSrcAlphaFactor