Shader loading error in 127 version

I need image plane which is load material with shaderMaterial.

const planeGeometry = new THREE.PlaneGeometry(40, 40);
const planetexture = await LoadTexture(backgroundSrc);

const planeMaterial = new THREE.RawShaderMaterial({
    vertexShader: `
        void main() {
            gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
    fragmentShader: `
        void main() {
            gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
    uniforms: {
        texture: { type: 't', value: planetexture },
    side: THREE.DoubleSide,
    transparent: true,
const planeMesh = new THREE.Mesh(planeGeometry, planeMaterial);


This is current code base
But in three 0.127.0 version, it occure errors.

This is the screenshot of console error.

The error message is pretty clear of what’s wrong.

Read the docs about RawShaderMaterial:
This class works just like ShaderMaterial, except that definitions of built-in uniforms and attributes are not automatically prepended to the GLSL shader code.

And see what and how is done in examples: three.js/webgl_buffergeometry_rawshader.html at 70cc4e192fe2ebd0bf8542a81c8c513d61984c58 · mrdoob/three.js · GitHub

Thank you, it’s deal.