6,777 questions
-1
votes
0
answers
40
views
React WebGL and Unity Integration
I'm currently having an issue integrating the latest react webGL and unity GL using the unity context. Here's my current details and the errors.
const { unityProvider, loadingProgression, isLoaded ...
3
votes
1
answer
82
views
WebGL is disabled error when opening bing maps with python selenium?
i try to open bing maps using python selenium with this code:
import os, sys
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service ...
0
votes
0
answers
37
views
WebGL context lost error on using two canvases on different pages
I recently started using WebGL, learning 3D on the web.
My current issue is as follows:
I have two pages, a home page and an about page. I have an Earth Model on the home page, rendering using the ...
0
votes
0
answers
42
views
Three.js not rendering correctly when canvas has display: none
I'm using MediaPipe to apply face blendshape scores to a 3D avatar's morph targets in Three.js.
The avatar is rendered into a custom canvas element, which is explicitly passed into WebGLRenderer like ...
1
vote
1
answer
71
views
Blur or antialias edges of rendered polygon in WGSL shader without intermediate rasterization
I'm rendering a 3D-polygon on top of a given background (a pre-rendered image). The polygon is arbitrary: I just have its vertices (as a triangle strip or indexed triangles) passed via buffer. It ...
0
votes
0
answers
29
views
How can I turn a rectangular region of my webage into a WebGL texture?
I have wanted to do an "Apple Liquid Glass" or refractive glass type effect on my website since before "Liquid Glass" was even a thing. I've designed my site to lean into 3D ...
6
votes
2
answers
182
views
Problem rendering fullscreen/fixed canvas in iOS safari
I'm rendering multiple WebGL "scenes" with one context using a single canvas element that is fullscreen and with a fixed position
The page contains several div elements and I use their ...
0
votes
0
answers
34
views
Why aren't my instanced elements rendering?
There seems to be no errors which popup, even with GL.getError():
const Canvas = document.getElementById("game_ui");
Canvas.width = window.innerWidth;
Canvas.height = window.innerHeight;
...
1
vote
0
answers
53
views
How to reliably read depth value from FBO using gl.ReadPixels?
I'm trying to read a depth value from a FBO through gl.readPixels.
const canvas = document.getElementById("glcanvas");
const gl = canvas.getContext("webgl2");
const width = 64;
...
0
votes
1
answer
62
views
PIXIJS v8: "Uniform type undefined is not supported" when passing float array uniform to a custom shader
I’m on PixiJS v8.1 (WebGL2) + TypeScript, trying to pass five RGB colors as a flat float[] into my fragment shader—but I keep getting:
Error: Uniform type undefined is not supported. Supported uniform ...
1
vote
0
answers
94
views
ONNX Runtime Web: [webgl] backend not found
I'm trying to run a YOLOv8 object detection model in a React application using onnxruntime-web. My goal is to use the WebGL backend for hardware acceleration and good performance.
I am consistently ...
0
votes
0
answers
46
views
Three.js shadow anomaly. Appears some dark blur on detail
I'm new in three.js and i don't know how but when i'm using shadows with my model it gives me some anomaly to different details.enter image description here
Like on this image . I have the directional ...
1
vote
1
answer
48
views
Threejs EffectComposer optimization
I'm building a Three.js viewer for a static building model using postprocessing and n8ao. Since the model doesn't animate, I want to render only once when the user stops moving the camera — not every ...
2
votes
1
answer
74
views
webgl canvas with shader not filling screen
how do I fill the full canvas with the full webgl shader layer? The canvas is filling the full window width and height, but the webgl shader layer is stuck to the top right quadrant of the screen at ...
0
votes
0
answers
26
views
WebGlRenderTarget's content incorrect behaviour
i’m trying to make interactive screen of TV by using webGlRenderTarget as a screen texture, i created the second scene and camera, but nothing works properly. Despite it actually rendering on the ...