All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
62 views

CORS Request Failing only on Firefox

I'm working with Unity WebGL and i'm having an issue with CORS when the loader tries to download the needed unityweb files for the build. The error: Cross-Origin Request Blocked: The Same Origin ...
0
votes
1answer
40 views

What is the "resource file" when building Unity3D project with WebGL and what needs to be considered using the Unity3D WebGL-Build?

I am trying to build a small project with Unity3D and I want to display it locally in my Firefox-Browser. In my Unity-Editor it looks like this: 1 And if I am building it as WebGL it looks like this:2 ...
4
votes
1answer
1k views

What does the message "WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER." mean?

On Firefox 92, if you do something like var canvas = document.createElement('canvas'); var gl = canvas.getContext('webgl'); var debugInfo = gl.getExtension('WEBGL_debug_renderer_info'); var vendor = ...
1
vote
1answer
68 views

ARRAY_BUFFER lost after VAO binded to null in WebGL

I created a VAO and bound the VBOs for the VAO to remember those bindings: bufferV = gl.createBuffer (); bufferI = gl.createBuffer (); vertexArray = gl.createVertexArray (); gl.bindVertexArray (...
0
votes
0answers
75 views

Zero gl_VertexID for every vertex when redrawn from event handler in Firefox

I use gl_VertexID for texture selection (passing it in a variable from vertex to fragment shader), and this approach works well for first drawElements(). But when I redraw frames on mousemove event my ...
0
votes
1answer
634 views

Browsers don't seem to use GPU for WebGL in Arch Linux with Nvidia Driver

I am running Arch Linux (EndeavourOS) with a Nvidia GeForce GTX 1080. Hardware acceleration seems to work when I run programs like games from steam. I get good frame rates for them but WebGl ...
1
vote
1answer
86 views

Firefox does not clear memory when a refresh my Three.js based page

I have been coding for an hour a web page in Three.js using Firefox as a browser. For some reason whenever I press refresh Firefox, it keeps increasing the memory. Doesn't have a garbage collector? ...
1
vote
0answers
2k views

How to fix "error creating WebGL context"?

I wanted to test Three.js for a new project and imported it together with some example code. In Firefox however the canvas with the three.js stuff doesn't show up and I get the error & warnings ...
1
vote
1answer
344 views

Passing Array Of Vectors To Shader

Trying to pass an array of vec3s to the shader, Firefox gives me this warning: WebGL warning: uniform setter: (uniform u_colors[0]) 'values' length (4) must be a positive integer multiple of size of &...
1
vote
1answer
341 views

Support for Stencil Buffer with WebGL

Initializing webgl with canvas.getContext("webgl", {stencil : true}) requests a stencil buffer, but not all browsers will actually give you one (for me, Firefox 79.0 on Ubuntu 20.04 LTS ...
0
votes
0answers
90 views

WebGL Firefox profiler interpretation

I use Firefox profiler and it shows that call to WebGL2RenderingContext.drawArrays takes 28% of the running time ( which comes to a few seconds ), underneath there is WebGLContext::DrawArraysInstanced ...
2
votes
1answer
2k views

webgl performance differences between firefox and chrome

I am currently developing an image processing tool for a webapplication. I need to take to png-images of the same size and combine them pixel by pixel. So far, I have set up a prototype (very much ...
0
votes
2answers
265 views

Can I mute the warning about vertex attrib array 0 being disabled?

When drawing with gl.disableVertexAttribArray(0), Firefox (just like other browsers, they say) issues this warning: WebGL warning: drawElementsInstanced: Drawing without vertex attrib 0 array ...
1
vote
1answer
1k views

WebGL warning: drawArraysInstanced: TEXTURE_2D at unit 0 is incomplete: The dimensions of `level_base` are not all positive

I am trying to use a texture on webgl. the code for importing this image is: var image = new Image(); // Create the image object image.onload = loadTexture(gl, n, texture, u_Sampler, image); image....
1
vote
2answers
764 views

"WebGl 2.0 isn't available" on Firefox browser on MacBook Pro

When i try to open a .html file i got "WebGL 2.0 isn't available". I'm working on MacBook Pro (late 2011) Firefox version: 74.0 Graphic card: Intel HD Graphics 3000 512 MB On about:support under ...

15 30 50 per page
1
2 3 4 5