Add comment
This commit is contained in:
parent
6b0f5e86fb
commit
3d8c211046
1 changed files with 4 additions and 0 deletions
|
@ -974,6 +974,10 @@ int16_t intensity = 0;
|
|||
#endif
|
||||
|
||||
#ifndef NO_SHADING
|
||||
/* NOTE: to gain a lot of performance, it's best to have precomputed color
|
||||
color gradients and look the colors up as opposed to calling
|
||||
addIntensity(...), but for the sake of simplicity we don't do it
|
||||
here. */
|
||||
if (previousColumn == pixel->position.x)
|
||||
{
|
||||
color = addIntensity(color,pixelIntensity);
|
||||
|
|
Loading…
Reference in a new issue