Skip to content

Commit 430111e

Browse files
authored
Fixes typos in RenderPipeline related docs (mrdoob#33034)
1 parent 29c9a7a commit 430111e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/nodes/display/RenderOutputNode.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { NoColorSpace, NoToneMapping } from '../../constants.js';
55
import { ColorManagement } from '../../math/ColorManagement.js';
66

77
/**
8-
* Normally, tone mapping and color conversion happens automatically
9-
* before outputting pixel too the default (screen) framebuffer. In certain
10-
* post processing setups this happens to late because certain effects
8+
* Normally, tone mapping and color conversion happens automatically just
9+
* before outputting a pixel to the default (screen) framebuffer. In certain
10+
* post processing setups this is too late because some effects such as FXAA
1111
* require e.g. sRGB input. For such scenarios, `RenderOutputNode` can be used
1212
* to apply tone mapping and color space conversion at an arbitrary point
1313
* in the effect chain.
@@ -136,7 +136,7 @@ class RenderOutputNode extends TempNode {
136136
export default RenderOutputNode;
137137

138138
/**
139-
* TSL function for creating a posterize node.
139+
* TSL function for creating a render output node.
140140
*
141141
* @tsl
142142
* @function

src/renderers/common/RenderPipeline.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class RenderPipeline {
4949
* Whether the default output tone mapping and color
5050
* space transformation should be enabled or not.
5151
*
52-
* It is enabled by default by it must be disabled when
53-
* effects must be executed after tone mapping and color
52+
* This is enabled by default but it must be disabled for
53+
* effects that expect to be executed after tone mapping and color
5454
* space conversion. A typical example is FXAA which
5555
* requires sRGB input.
5656
*

0 commit comments

Comments
 (0)