mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add emission gbuffer attachment
This commit is contained in:
parent
8a3306ed41
commit
5ec9f14021
12 changed files with 101 additions and 31 deletions
|
|
@ -102,6 +102,7 @@ void PostProcessing::configureEffect(
|
|||
if (gbuffer) {
|
||||
shader.uniform1i("u_position", TARGET_POSITIONS);
|
||||
shader.uniform1i("u_normal", TARGET_NORMALS);
|
||||
shader.uniform1i("u_emission", TARGET_EMISSION);
|
||||
}
|
||||
shader.uniform1i("u_noise", TARGET_SSAO); // used in SSAO pass
|
||||
shader.uniform1i("u_ssao", TARGET_SSAO);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue