renderTexture in phaser3?

Recommended Posts


Is renderTexture already supposed to work in Phaser 3?

I am porting a game from phaser 2 to phaser 3 and getting an exception when I try to create a renderTexture.

After isolating the problem, I am doing this in my create() function:

renderTexture = this.add.renderTexture(100, 100);


And I am getting this in the chrome console:


Uncaught Error: Framebuffer incomplete. Framebuffer status: Incomplete Attachment
    at WebGLRenderer.createFramebuffer (phaser.js:88300)
    at new RenderTexture (phaser.js:30278)
    at GameObjectFactory.renderTexture (phaser.js:102405)
    at Scene.create (lost_main.js:64)
    at SceneManager.create (phaser.js:51686)
    at SceneManager.loadComplete (phaser.js:51603)
    at LoaderPlugin.emit (phaser.js:2762)
    at LoaderPlugin.processComplete (phaser.js:111711)
    at LoaderPlugin.removeFromQueue (phaser.js:111691)
    at LoaderPlugin.processUpdate (phaser.js:111672)

Offscreen-For-WebGL-000000000E49A020]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
Offscreen-For-WebGL-000000000E49A020]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawArrays: framebuffer incomplete
WebGL: too many errors, no more errors will be reported to the console for this context.

I am using phaser v3.1.2

Help would be much appreciated :)


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.