내 조각 쉐이더에서 다음과 같은 오류가 점점 오전 :조각 쉐이더 컴파일 에러는 3.0
Compile log: ERROR: 0:7: 'texture' : syntax error: syntax error
쉐이더는 다음과 같이 기록 : 왜 오류를 얻고있다
#version 300 es
in mediump vec2 texCoord;
out mediump vec4 fColor;
uniform sampler texture;
void main(void) {
fColor = texture(texture, texCoord);
}
?
: fColor = texture2D (질감, TEXCOORD)? – Argb32
분명히 texture2d가 glsl 3.0에서 변경되었습니다. –