什么是Core Image Kernel Language中的texture(iChannel0,vec2)等效项?

时间:2018-07-05 06:40:15

标签: ios shader core-image ciimage cikernel

float r = texture(iChannel3, view1).r;
float g = texture(iChannel3, view2).g;
float b = texture(iChannel3, view3).b;

fragColor = vec4(r, g, b, 1.);

如何在Core Image Kernel Language中转换此着色器语法?

0 个答案:

没有答案