forked from bartvdbraak/blender
Fix #34889: negative lights not working in glsl view and game engine.
Patch #35197 by Tyler Seacrest.
This commit is contained in:
parent
9d25253596
commit
7753d1c49c
@ -571,7 +571,7 @@ static void add_to_diffuse(GPUMaterial *mat, Material *ma, GPUShadeInput *shi, G
|
|||||||
addcol = shi->rgb;
|
addcol = shi->rgb;
|
||||||
|
|
||||||
/* output to */
|
/* output to */
|
||||||
GPU_link(mat, "shade_madd_clamped", *diff, rgb, addcol, diff);
|
GPU_link(mat, "shade_madd", *diff, rgb, addcol, diff);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ramp_spec_result(GPUShadeInput *shi, GPUNodeLink **spec)
|
static void ramp_spec_result(GPUShadeInput *shi, GPUNodeLink **spec)
|
||||||
|
Loading…
Reference in New Issue
Block a user