|
@@ -846,6 +846,7 @@ function WebGLProgram( renderer, cacheKey, parameters, bindingStates ) {
|
|
].join( '\n' ) + '\n' + prefixVertex;
|
|
].join( '\n' ) + '\n' + prefixVertex;
|
|
|
|
|
|
prefixFragment = [
|
|
prefixFragment = [
|
|
|
|
+ 'precision mediump sampler2DArray;',
|
|
'#define varying in',
|
|
'#define varying in',
|
|
( parameters.glslVersion === GLSL3 ) ? '' : 'layout(location = 0) out highp vec4 pc_fragColor;',
|
|
( parameters.glslVersion === GLSL3 ) ? '' : 'layout(location = 0) out highp vec4 pc_fragColor;',
|
|
( parameters.glslVersion === GLSL3 ) ? '' : '#define gl_FragColor pc_fragColor',
|
|
( parameters.glslVersion === GLSL3 ) ? '' : '#define gl_FragColor pc_fragColor',
|