From 3bbb51aa332adce5964e58b7b0b7dc99cdd60d42 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sun, 21 Jul 2024 13:36:26 -0400 Subject: [PATCH] Shaders: Improve Packing (#1093) --- types/three/src/constants.d.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/types/three/src/constants.d.ts b/types/three/src/constants.d.ts index c176d484c..26ee6e2a5 100644 --- a/types/three/src/constants.d.ts +++ b/types/three/src/constants.d.ts @@ -679,7 +679,13 @@ export type TrianglesDrawModes = typeof TrianglesDrawMode | typeof TriangleStrip export const BasicDepthPacking: 3200; export const RGBADepthPacking: 3201; -export type DepthPackingStrategies = typeof BasicDepthPacking | typeof RGBADepthPacking; +export const RGBDepthPacking: 3202; +export const RGDepthPacking: 3203; +export type DepthPackingStrategies = + | typeof BasicDepthPacking + | typeof RGBADepthPacking + | typeof RGBDepthPacking + | typeof RGDepthPacking; /////////////////////////////////////////////////////////////////////////////// // Normal Map types