Skip to content

Commit 967be2b

Browse files
authored
Update GTAONode.js
Fix docs.
1 parent 1e144d8 commit 967be2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/jsm/tsl/display/GTAONode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ let _rendererState;
2626
*
2727
* const aoPass = ao( scenePassDepth, scenePassNormal, camera );
2828
*
29-
* renderPipeline.outputNode = aoPass.getTextureNode().mul( scenePassColor );
29+
* renderPipeline.outputNode = scenePassColor.mul( vec4( vec3( aoPass.r ), 1 ) );
3030
* ```
3131
*
3232
* Reference: [Practical Real-Time Strategies for Accurate Indirect Occlusion](https://www.activision.com/cdn/research/Practical_Real_Time_Strategies_for_Accurate_Indirect_Occlusion_NEW%20VERSION_COLOR.pdf).

0 commit comments

Comments
 (0)