plotRed = pA[0].redColor;
plotGreen = pA[0].greenColor;
plotBlue = pA[0].blueColor;
}
else {
RenderColor color = colorMap[(int) (pA[0].color * paletteIdxScl + 0.5)];
plotRed = color.red;
plotGreen = color.green;
plotBlue = color.blue;
}
transformPlotColor(pA[0]);
RenderColor color = new RenderColor();
color.red = plotRed;
color.green = plotGreen;
color.blue = plotBlue;
RenderColor shadedColor = shader.calculateColor(qA, color);
rp.setRed(rp.getRed() + shadedColor.red * prj.intensity);
rp.setGreen(rp.getGreen() + shadedColor.green * prj.intensity);
rp.setBlue(rp.getBlue() + shadedColor.blue * prj.intensity);
rp.incCount();
if (observers != null && observers.size() > 0) {