webgl2 Questions

1

Solved

I am trying to make use of some ES 3.1 features, and it's unclear if this is supported: I notice that there is an OpenGL ES 3.1 header in the emscripten repository which defines some of the functio...
Beechnut asked 25/12, 2021 at 22:32

2

Solved

EDIT: This issue is specific to this setup. Please use the code from here if you wish to help. Thanks! I am using Deck.gl with react to display a map. When I try to hide the map with display: none...
Klug asked 10/2, 2020 at 8:21

2

Solved

Background I'm looking at this example code from the WebGL2 library PicoGL.js. It describes a single triangle (three vertices: (-0.5, -0.5), (0.5, -0.5), (0.0, 0.5)), each of which is assigned a ...
Dwarfism asked 20/9, 2019 at 13:31

2

Solved

I want to check if WebGL 2 is enabled and supported in the user's browser. There are a lot of posts for WebGL 1 but I found nothing related WebGL version 2.
Thomasson asked 28/1, 2019 at 12:1

1

Solved

I'm currently following this guide to render my scene to a texture to generate a depth / shadow map: http://www.opengl-tutorial.org/intermediate-tutorials/tutorial-14-render-to-texture/ The guide i...
Thundersquall asked 20/1, 2019 at 12:43

1

Solved

I have a giant shader that takes more than a minute to compile, which completely stalls whole browser during the process. As far as I know shader compilation cannot be made asynchronous, so you can...
Kathaleenkatharevusa asked 29/11, 2018 at 14:48

1

Solved

I'm trying to learn how to do multiple outputs from the same program in WebGL2 leveraging gl.drawBuffer() capabilities. I looked at the book "OpenGL ES 3.0 Programming Guide", chapter 11 where it...
Jelks asked 10/8, 2018 at 19:57

1

Solved

I am having trouble utilizing sRGB textures with WebGL2. I am attempting to load a texture and display it as a fullscreen quad, but the image is displaying incorrectly (too dark.) The texture loadi...
Bargeboard asked 25/6, 2018 at 22:14

2

Solved

I've been reading the source code for these examples and I continue to see this option, however, I can't locate anywhere whether this is a supported feature. Do you simply get antialias by turning ...
Intrigue asked 9/5, 2018 at 13:58

1

Solved

I've been working with WebGL1 for some time but now that I'm learning more about WebGL2, I'm confused what Vertex Arrays actually do. For example, in the following example, I can remove all referen...
Tradein asked 9/5, 2018 at 13:51

1

Solved

In the WebGL reference card, there is the documentation about Vector components. While it seems to me that i can use also {x, y, z, w}, I am not able to understand if it is mandatory to use {s, t,...
Wingback asked 25/12, 2017 at 14:24

1

Solved

I want to draw object in just specific area. Please take a look this image for reference The 2 triangles (picture A) being draw just in the area inside the quad (picture B), so the result will lo...
Kosey asked 18/10, 2017 at 8:42

1

Solved

is it possible to retrieve pixels value as a float on framebuffer with multiple attachments ? (WebGL 2) I tried this : var framebuffer = _gl.createFramebuffer(); _gl.bindFramebuffer(_gl.FRAMEBUFFE...
Beghtol asked 8/8, 2017 at 14:46

1

I got a chance to update our renderer we use to WebGL2. To make the renderer as backward compatible as possible we keep tracking of loaded extensions( as we did before the upgrade ) and emulate ext...
Iodic asked 15/5, 2017 at 19:52

1

Solved

Currently, uploading large 4096x4096 textures using texImage2d is quite slow, locking the main thread while the texture is sent to the GPU and ultimately causing stuttering. From what I've read, W...
Horn asked 20/4, 2017 at 21:17

3

Solved

I'm noob at WebGL. I read in several posts of ND-Buffers and G-Buffers as if it were a strategic choice for WebGL development. How are ND-Buffers and G-Buffers related to rendering pipelines? Are ...

2

I want to combine my deferred renderer and forward renderer together. In order to share the same depth buffer, I use a single frame buffer object with 4 color attachments, COLOR_ATTACHMENT0-2 for G...
Arrival asked 23/5, 2016 at 2:53
1

© 2022 - 2024 — McMap. All rights reserved.