Sign in to follow this  
gamefan

This operation requires zeroing texture data. This is slow.

Recommended Posts

Or is it?

Hi again, Today I finally decided to question this error that firefox has been bugging. There is no rendering glitch or run time error. Everything runs as expected but ff spams the console with this:

Error: WebGL warning: drawElements: This operation requires zeroing texture data. This is slow.

Error: WebGL: No further warnings will be reported for this WebGL context. (already reported 32 warnings)

I narrowed it down, seems its related to creating reflection probes. (Or may be any render target cube texture). Of what I could amass from the internets is that this occurs when an "out-of-viewport" pixel is read and rendered - This question in pixi.js subforum - but I couldn't figure where and what method is accessing out-of-viewport pixels. If this is just a browser thing, can this be safely ignored? because chrome does not log these errors.


https://www.babylonjs-playground.com/#KA93U#243

Thanks

Share this post


Link to post
Share on other sites

You can safely ignore this error.

This comes from the diffuseTexture of the ground taking time to load. So the RTT cannot render because the meshes are not ready (waiting for the diffuse texture to load). Then when you run the main rendering, the RTT are used as texture but need to be zero out as they don't have data yet (which will be fixed as soon as the diffuseTexture is ready)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.