Chapter 706: GTAOShader
Core Idea
Reference for GTAOShader.
Key Concepts
- GTAOBlendShader : Object (inner, constant): GTAO blend shader. Use by GTAOPass.
- GTAODepthShader : Object (inner, constant): GTAO depth shader. Use by GTAOPass.
- GTAOShader : ShaderMaterial~Shader (inner, constant): GTAO shader. Use by GTAOPass.
Code Examples
import { GTAOShader } from 'three/addons/shaders/GTAOShader.js';
- What it demonstrates: Typical usage of GTAOShader.
Reference Tables
Properties
| Property | Description |
|---|
.GTAOBlendShader : Object (inner, constant) | GTAO blend shader. Use by GTAOPass. |
.GTAODepthShader : Object (inner, constant) | GTAO depth shader. Use by GTAOPass. |
.GTAOShader : ShaderMaterial~Shader (inner, constant) | GTAO shader. Use by GTAOPass. |
Key Takeaways
- Most relevant properties: GTAOBlendShader, GTAODepthShader, GTAOShader.
Connects To