/usr/src/castle-game-engine-4.1.1/images/images_modulatergb_implement.inc is in castle-game-engine-src 4.1.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | var pvec: PPixel;
i: Cardinal;
begin
if not Assigned(ColorModulator) then Exit;
pvec := PPixel(RawPixels);
for i := 1 to Width * Height do
begin
PVector3Byte(pvec)^ := ColorModulator(PVector3Byte(pvec)^);
Inc(pvec);
end;
end;
|