From the course: Learning 3D Graphics on the Web with Three.js
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Post-processing - JavaScript Tutorial
From the course: Learning 3D Graphics on the Web with Three.js
Post-processing
- [Instructor] People don't usually realize when you create 3D content you rarely use the renders as they are. Just like how a professional photographer uses an image editing program such as Photoshop to enhance their pictures, computer-generated images are processed for improving the visual quality as well. It's very rare that you will see images as they were initially rendered in video games or visual effects. They are usually post-processed. The same thing can be done for Three.js renders as well by using pixel processing algorithms called shaders. A shader is a piece of code that describes how the GPU, graphical processing unit, should render the pixels on the screen. You need to use a different C-like programming language called GLSL to be able to create shaders. Luckily, you don't need to write your own shaders to be able to use post-processing effects in Three.js. Even though post-processing is not supported by the core Three.js library, Three.js examples page contains a bunch…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.