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

lightprobe_grid_display_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: d333ad34bb0dadd95a12b955a36e47aec3940c87 (plain)
1
2
3
4
5
6
7
8
9
10
11

flat in int cellOffset;
in vec3 worldNormal;

out vec4 FragColor;

void main()
{
	IrradianceData ir_data = load_irradiance_cell(cellOffset, worldNormal);
	FragColor = vec4(compute_irradiance(worldNormal, ir_data), 1.0);
}