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

gpu_shader_material_light_falloff.glsl « material « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 92762db5ff407029750841d114952faad8c343e6 (plain)
1
2
3
4
5
6
7
8
9
10
void node_light_falloff(float strength,
                        float tsmooth,
                        out float quadratic,
                        out float linear,
                        out float falloff_constant)
{
  quadratic = strength;
  linear = strength;
  falloff_constant = strength;
}