Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/eevee/shaders/effect_gtao_frag.glsl
| /** | /** | ||||
| * This shader only compute maximum horizon angles for each directions. | * This shader only compute maximum horizon angles for each directions. | ||||
| * The final integration is done at the resolve stage with the shading normal. | * The final integration is done at the resolve stage with the shading normal. | ||||
| **/ | */ | ||||
| uniform float rotationOffset; | uniform float rotationOffset; | ||||
| out vec4 FragColor; | out vec4 FragColor; | ||||
| #ifdef DEBUG_AO | #ifdef DEBUG_AO | ||||
| uniform sampler2D normalBuffer; | uniform sampler2D normalBuffer; | ||||
| ▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines | |||||