Skip to content

Commit

Permalink
Shaders: Improve Packing (#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Jul 21, 2024
1 parent 2534297 commit 3bbb51a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion types/three/src/constants.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bbb51a

Please sign in to comment.