-
-
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.
WebGPURenderer: Apply fog before tonemapping and encoding (#868)
* WebGPURenderer: Apply fog before tonemapping and encoding * Add examples * Updates * Update patch * Delete examples
- Loading branch information
1 parent
6463f2b
commit ed5c3e9
Showing
8 changed files
with
71 additions
and
16 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
Submodule three.js
updated
41 files
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
16 changes: 16 additions & 0 deletions
16
types/three/examples/jsm/nodes/accessors/RendererReferenceNode.d.ts
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import Renderer from "../../renderers/common/Renderer.js"; | ||
import { NodeTypeOption } from "../core/constants.js"; | ||
import { ShaderNodeObject } from "../shadernode/ShaderNode.js"; | ||
import ReferenceNode from "./ReferenceNode.js"; | ||
|
||
export default class RendererReferenceNode extends ReferenceNode<Renderer> { | ||
renderer: Renderer | null; | ||
|
||
constructor(property: string, inputType: NodeTypeOption, renderer?: Renderer | null); | ||
} | ||
|
||
export const rendererReference: ( | ||
name: string, | ||
type: NodeTypeOption, | ||
renderer?: Renderer | null, | ||
) => ShaderNodeObject<RendererReferenceNode>; |
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
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
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
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