Jump to content

WebGL: INVALID_FRAMEBUFFER_OPERATION: clear: attachment has a 0 dimension babylon.js:5457


Go to solution Solved by Deltakosh,

Recommended Posts

Hello,,, 

I've been trying to use SSAO renderingPipeline,,,, and got this ERROR

 

 

WebGL: INVALID_FRAMEBUFFER_OPERATION: drawElementsInstancedANGLE: attachment has a 0 dimension
babylon.js:5714 WebGL: INVALID_FRAMEBUFFER_OPERATION: drawElements: attachment has a 0 dimension
babylon.js:5711 WebGL: INVALID_FRAMEBUFFER_OPERATION: drawElementsInstancedANGLE: attachment has a 0 dimension
2(index):1 [GroupMarkerNotSet(crbug.com/242999)!:7CC10008]RENDER WARNING: there is no texture bound to the unit 0
(index):1 [GroupMarkerNotSet(crbug.com/242999)!:7CC10008]RENDER WARNING: texture bound to texture unit 1 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
babylon.js:5457 WebGL: INVALID_FRAMEBUFFER_OPERATION: clear: attachment has a 0 dimension
babylon.js:5457 WebGL: INVALID_FRAMEBUFFER_OPERATION: clear: attachment has a 0 dimension
10babylon.js:5714 WebGL: INVALID_FRAMEBUFFER_OPERATION: drawElements: attachment has a 0 dimension

 

 

I used code is from SSAO example "CAT"

 

 var ssao = new BABYLON.SSAORenderingPipeline('ssaopipeline', scene, 0.75);
                scene.postProcessRenderPipelineManager.attachCamerasToRenderPipeline("ssaopipeline", camera);
               scene.postProcessRenderPipelineManager.enableEffectInPipeline("ssaopipeline", ssao.SSAOCombineRenderEffect, camera);
 
Any idea >? or same problem here ?
 
 
 
NO WORRIES   ,, now its working,,,,,,, i've added pipeline while engine wasn't properly initialized
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.

Guest
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.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...