mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
* Fix a typo in code.
This commit is contained in:
parent
89f4445b44
commit
271ffb43e5
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ __device void lamp_light_sample(KernelGlobals *kg, int lamp,
|
|||
ls->pdf = invarea;
|
||||
|
||||
if(type == LIGHT_SPOT) {
|
||||
/* spot light attentuation */
|
||||
/* spot light attenuation */
|
||||
float4 data2 = kernel_tex_fetch(__light_data, lamp*LIGHT_SIZE + 2);
|
||||
ls->eval_fac *= spot_light_attenuation(data1, data2, ls);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue