This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/gpu/shaders/material/gpu_shader_material_background.glsl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
244 B
GLSL
Raw Normal View History

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);
}