Welcome to mirror list, hosted at ThFree Co, Russian Federation.

volumetric_accum_frag.glsl « shaders « eevee « engines « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1b6a7b33f42c9818aba4f7ab5de8b34eb436dfe2 (plain)
1
2
3
4
5
6
7
8
9
10
11

/* This shader is used to add default values to the volume accum textures.
 * so it looks similar (transmittance = 1, scattering = 0) */
layout(location = 0, index = 0) out vec4 FragColor0;
layout(location = 0, index = 1) out vec4 FragColor1;

void main()
{
  FragColor0 = vec4(0.0);
  FragColor1 = vec4(1.0);
}