Skip to content

Commit

Permalink
fix: added missing transmissive member to WebGLRenderList (#127)
Browse files Browse the repository at this point in the history
* fix: 2nd parameter on WebGLRenderLists.get should be a number

The second parameter of WebGLRenderLists.get() should be a number indicating the render call depth.

Three.js source line here:
https://github.com/mrdoob/three.js/blob/68b5f4f0cc279b6b7c61205aeda72b995a3642f5/src/renderers/webgl/WebGLRenderLists.js#L205

* fix: WebGLRenderLists added missing transmissive member

Co-authored-by: Tom <[email protected]>
  • Loading branch information
schwyzl and Tom authored Sep 18, 2021
1 parent cbdf1e5 commit eebc29a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/three/src/renderers/webgl/WebGLRenderLists.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ export class WebGLRenderList {
*/
transparent: RenderItem[];

/**
* @default []
*/
transmissive: RenderItem[];

init(): void;
push(
object: Object3D,
Expand Down

0 comments on commit eebc29a

Please sign in to comment.