-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RenderPass: Make clear color and alpha independent. (#587)
- Loading branch information
1 parent
44cc143
commit c21d70f
Showing
1 changed file
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
import { Scene, Camera, Material, Color } from '../../../src/Three.js'; | ||
|
||
import { Pass, FullScreenQuad } from './Pass.js'; | ||
import { Pass } from './Pass.js'; | ||
|
||
export class RenderPass extends Pass { | ||
constructor(scene: Scene, camera: Camera, overrideMaterial?: Material, clearColor?: Color, clearAlpha?: number); | ||
constructor( | ||
scene: Scene, | ||
camera: Camera, | ||
overrideMaterial?: Material | null, | ||
clearColor?: Color | null, | ||
clearAlpha?: number | null, | ||
); | ||
|
||
scene: Scene; | ||
camera: Camera; | ||
overrideMaterial: Material; | ||
clearColor: Color; | ||
clearAlpha: number; | ||
|
||
overrideMaterial: Material | null; | ||
|
||
clearColor: Color | null; | ||
clearAlpha: number | null; | ||
|
||
clearDepth: boolean; | ||
} |