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

gpu_shader_material_background.glsl « material « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2460bd63b38c211fe7e4c5d96e0e4d8d998c3201 (plain)
1
2
3
4
5
6
7
8
9

void node_background(vec4 color, float strength, float weight, out Closure result)
{
  ClosureEmission emission_data;
  emission_data.weight = weight;
  emission_data.emission = color.rgb * strength;

  result = closure_eval(emission_data);
}