Bug 470698 - MapObject cannot modify highlight
This commit is contained in:
committed by
Michael Schumacher
parent
21c037fdd6
commit
05304f6d83
@ -77,7 +77,7 @@ phong_shade (GimpVector3 *pos,
|
||||
gimp_vector3_mul (&N, NL);
|
||||
gimp_vector3_sub (&NN, &N, &L);
|
||||
RV = gimp_vector3_inner_product (&NN, &V);
|
||||
RV = pow (RV, mapvals.material.highlight);
|
||||
RV = 0.0 < RV ? pow (RV, mapvals.material.highlight) : 0.0;
|
||||
|
||||
/* Compute diffuse and specular intensity contribution */
|
||||
/* =================================================== */
|
||||
|
||||
Reference in New Issue
Block a user