Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update render pass tutorial #149

Merged
merged 2 commits into from
Sep 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tutorials/17_render_pass_tutorial.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
\page render_pass Render pass

This example shows how to add gaussian mode to the camera
This example demonstrates the of use the render pass system for adding Gaussian noise post-processing effect to a camera.

## Compile and run the example

Expand Down Expand Up @@ -35,6 +35,6 @@ Engine 'optix' is not supported

## Code

Get the render pass system and check if the render engine has a render pass. Then we just need to create some gaussian noise using the mean and the standard deviation and add this noise to the camera.
Get the render pass system and create a Gaussian noise render pass. Then we just need to set the noise mean and the standard deviation parameters and apply this render pass to the camera.

\snippet examples/render_pass/Main.cc get render pass system