- if shader.NonOpaque then
- for j := 0 to numOfVerts-1 do begin
- If colorBuffer[j, 0] > 50 then
- colorBuffer[j, 0] := 50; // red
- If colorBuffer[j, 1] > 50 then
- colorBuffer[j, 1] := 50; // green
- If colorBuffer[j, 2] > 50 then
- colorBuffer[j, 2] := 50; // blue
- If colorBuffer[j, 3] > 50 then
- colorBuffer[j, 3] := 50; // gamma
- end;